Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 213.3 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.008/3.008, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 72.45 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.326, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002884/0.3289, allocations: 1.646 MB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.331, allocations: 1.289 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.3311, allocations: 7.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.3315, allocations: 79.59 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3316, allocations: 79.52 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.3323, allocations: 277.4 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3326, allocations: 191.2 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.3326, allocations: 5.688 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3327, allocations: 87.62 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3329, allocations: 83.66 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3329, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.3334, allocations: 331.4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.3335, allocations: 67.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.3336, allocations: 75.59 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.3341, allocations: 398.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3341, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3341, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3341, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008616/0.335, allocations: 0.4927 MB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.335, allocations: 8.031 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3351, allocations: 34.75 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.3351, allocations: 28.75 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.3356, allocations: 214.7 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.3357, allocations: 141.1 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3357, allocations: 4.375 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3359, allocations: 93.53 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.336, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.336, allocations: 7.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.336, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.3362, allocations: 99.92 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.3365, allocations: 216.6 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3378, allocations: 290.4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3379, allocations: 56.77 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.338, allocations: 31.91 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.338, allocations: 38.56 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.338, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004865/0.3385, allocations: 205.5 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3386, allocations: 55.41 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3389, allocations: 308.3 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3389, allocations: 29.7 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.339, allocations: 116.6 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.339, allocations: 15.86 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.3391, allocations: 65.61 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3392, allocations: 338.8 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3395, allocations: 155.9 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.3397, allocations: 163.7 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.3401, allocations: 293.4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3401, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005756/0.3407, allocations: 401.1 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3407, allocations: 4 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3407, allocations: 0 / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3407, allocations: 7.984 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.3408, allocations: 11.94 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3408, allocations: 4 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.341, allocations: 39.61 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.341, allocations: 0 / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.3411, allocations: 134.4 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3411, allocations: 27.8 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.3415, allocations: 163.4 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3415, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3415, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3415, allocations: 3.984 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3417, allocations: 200.6 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3417, allocations: 15.88 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.3418, allocations: 11.98 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3418, allocations: 4 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3418, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3418, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3418, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3422, allocations: 189.1 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3422, allocations: 35.83 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3423, allocations: 4 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.3423, allocations: 4 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3424, allocations: 7.984 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.3424, allocations: 4 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001949/0.3426, allocations: 203 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003959/0.343, allocations: 111.8 kB / 1.334 GB, free: 8.492 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.344, allocations: 0.8813 MB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.3446, allocations: 319.2 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3446, allocations: 0 / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3447, allocations: 55.97 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.345, allocations: 28.62 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.3481, allocations: 2.705 MB / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3483, allocations: 124.3 kB / 1.338 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.375e-05/0.3483, allocations: 17.39 kB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.3484, allocations: 63.41 kB / 1.338 GB, free: 4.16 MB / 1.029 GB Notification: Performance of SimCode: time 8.12e-07/0.3484, allocations: 0 / 1.338 GB, free: 4.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3824, allocations: 6.564 MB / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.84, allocations: 13.42 kB / 1.345 GB, free: 13.77 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6] [Calling sys.exit(0), Time elapsed: 17.214507156051695]