Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.5482, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002432/0.5506, allocations: 1.666 MB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.5522, allocations: 1.358 MB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.5523, allocations: 7.969 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.5526, allocations: 83.2 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5528, allocations: 81.77 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.5534, allocations: 281 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.5535, allocations: 184.7 kB / 0.9533 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.5536, allocations: 11.55 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.808e-05/0.5537, allocations: 85.59 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.5538, allocations: 82.45 kB / 0.9535 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.5538, allocations: 7.656 kB / 0.9535 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.5543, allocations: 336.4 kB / 0.9538 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.5543, allocations: 69.53 kB / 0.9538 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.5544, allocations: 89.02 kB / 0.9539 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.5549, allocations: 402.4 kB / 0.9543 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5549, allocations: 1.438 kB / 0.9543 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5549, allocations: 0 / 0.9543 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5549, allocations: 0 / 0.9543 GB, free: 5.715 MB / 0.7169 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.0007258/0.5556, allocations: 0.5435 MB / 0.9548 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5557, allocations: 17.31 kB / 0.9549 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.5557, allocations: 36.83 kB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.5558, allocations: 21.25 kB / 0.9549 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.5561, allocations: 279.6 kB / 0.9552 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.5562, allocations: 66.42 kB / 0.9552 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.5562, allocations: 6.844 kB / 0.9553 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.5564, allocations: 88.66 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.5564, allocations: 0 / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5565, allocations: 0 / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5565, allocations: 5.25 kB / 0.9553 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.5567, allocations: 104.4 kB / 0.9554 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.5569, allocations: 252.9 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.5583, allocations: 293 kB / 0.956 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5584, allocations: 57.67 kB / 0.956 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5585, allocations: 99.31 kB / 0.9561 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.5586, allocations: 39.67 kB / 0.9562 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5586, allocations: 1.094 kB / 0.9562 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004688/0.559, allocations: 204.6 kB / 0.9563 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.5591, allocations: 56.59 kB / 0.9564 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5593, allocations: 305.8 kB / 0.9567 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.5593, allocations: 25.7 kB / 0.9567 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.5594, allocations: 127.7 kB / 0.9568 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5594, allocations: 14.56 kB / 0.9569 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.5595, allocations: 60.12 kB / 0.9569 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.5596, allocations: 332.7 kB / 0.9572 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.5598, allocations: 161 kB / 0.9574 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.56, allocations: 157.5 kB / 0.9575 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.5603, allocations: 295.2 kB / 0.9578 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5603, allocations: 5.281 kB / 0.9578 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005327/0.5609, allocations: 399.1 kB / 0.9582 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5609, allocations: 6.719 kB / 0.9582 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5609, allocations: 1.219 kB / 0.9582 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5609, allocations: 1.125 kB / 0.9582 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.561, allocations: 15.45 kB / 0.9582 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.561, allocations: 0 / 0.9582 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.5611, allocations: 39.88 kB / 0.9583 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.5612, allocations: 10.42 kB / 0.9583 GB, free: 2.812 MB / 0.7169 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 7.619e-05/0.5612, allocations: 130.8 kB / 0.9584 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.5613, allocations: 24.12 kB / 0.9584 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.5616, allocations: 167.5 kB / 0.9586 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5616, allocations: 1.156 kB / 0.9586 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5616, allocations: 5.453 kB / 0.9586 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5616, allocations: 0 / 0.9586 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5618, allocations: 237.9 kB / 0.9588 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5618, allocations: 3.938 kB / 0.9588 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.5619, allocations: 15.95 kB / 0.9588 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5619, allocations: 0 / 0.9588 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.5619, allocations: 5.094 kB / 0.9588 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5619, allocations: 1.094 kB / 0.9588 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5619, allocations: 7.938 kB / 0.9588 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.5622, allocations: 179.1 kB / 0.959 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.5623, allocations: 108.6 kB / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.5623, allocations: 0 / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.5624, allocations: 7.562 kB / 0.9591 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5625, allocations: 7.047 kB / 0.9591 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.5625, allocations: 1.938 kB / 0.9591 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001455/0.5626, allocations: 197.2 kB / 0.9593 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5626, allocations: 0 / 0.9593 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004147/0.5631, allocations: 112.4 kB / 0.9594 GB, free: 1.934 MB / 0.7169 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.0007627/0.5638, allocations: 0.8885 MB / 0.9603 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.5643, allocations: 360.1 kB / 0.9606 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5643, allocations: 3.938 kB / 0.9606 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.5644, allocations: 58.25 kB / 0.9607 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.5647, allocations: 43.56 kB / 0.9607 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.5673, allocations: 2.673 MB / 0.9634 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5675, allocations: 0.7363 MB / 0.9641 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.267e-05/0.5676, allocations: 22.89 kB / 0.9641 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.5677, allocations: 55.27 kB / 0.9641 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5677, allocations: 0 / 0.9641 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.5902, allocations: 5.735 MB / 0.9697 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.534, allocations: 11.38 kB / 0.9698 GB, free: 11.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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]