Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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.00987/0.00987, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 193 kB / 16.67 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.914/2.914, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.89 kB / 1.054 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3665, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002945/0.3694, allocations: 1.675 MB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3717, allocations: 1.375 MB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3719, allocations: 4 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.3724, allocations: 75.59 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3726, allocations: 79.52 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.3735, allocations: 281.2 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.3738, allocations: 187.2 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.3738, allocations: 13.48 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.374, allocations: 83.69 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3741, allocations: 87.59 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3741, allocations: 8 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.3747, allocations: 343.4 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.3748, allocations: 59.8 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3749, allocations: 99.41 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.3756, allocations: 390.9 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3756, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3756, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3756, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 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.0009812/0.3766, allocations: 0.5607 MB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3766, allocations: 8.625 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.3767, allocations: 38.75 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.3768, allocations: 20.66 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.3772, allocations: 279.6 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3773, allocations: 59.97 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3774, allocations: 4.375 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.3776, allocations: 101.5 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3776, allocations: 0 / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3776, allocations: 0 / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3776, allocations: 0 / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3779, allocations: 99.88 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.3782, allocations: 261.3 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3796, allocations: 294.4 kB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3797, allocations: 60.77 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.3799, allocations: 105 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3799, allocations: 34.56 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3799, allocations: 3.938 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004928/0.3804, allocations: 205.5 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3805, allocations: 55.41 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3807, allocations: 295.2 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3808, allocations: 29.69 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.3809, allocations: 124.5 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3809, allocations: 19.75 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.381, allocations: 61.58 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3811, allocations: 330.8 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3813, allocations: 163.9 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3815, allocations: 163.9 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.3819, allocations: 293.4 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3819, allocations: 0 / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005222/0.3825, allocations: 401.1 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3825, allocations: 4 kB / 1.216 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3825, allocations: 4 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3825, allocations: 0 / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3826, allocations: 15.98 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3827, allocations: 3.938 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3828, allocations: 31.53 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3828, allocations: 4 kB / 1.216 GB, free: 1.156 MB / 0.9669 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.0001246/0.3829, allocations: 133.8 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.383, allocations: 27.56 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.3833, allocations: 167.4 kB / 1.216 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3834, allocations: 0 / 1.216 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3834, allocations: 0 / 1.216 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3834, allocations: 4 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3836, allocations: 233.6 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3836, allocations: 7.938 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.3837, allocations: 15.92 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3837, allocations: 4 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3837, allocations: 0 / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3837, allocations: 0 / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3838, allocations: 0 / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3841, allocations: 184.8 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.3842, allocations: 108.7 kB / 1.217 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3842, allocations: 11.88 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3843, allocations: 4.125 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3844, allocations: 11.98 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3844, allocations: 8 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001977/0.3846, allocations: 197.9 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3846, allocations: 3.938 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000404/0.385, allocations: 115.9 kB / 1.217 GB, free: 15.84 MB / 0.9825 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.001097/0.3861, allocations: 0.8697 MB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.3866, allocations: 367.2 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3867, allocations: 4 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3868, allocations: 55.97 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3871, allocations: 24.64 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3903, allocations: 2.688 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3907, allocations: 0.7357 MB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.27e-05/0.3908, allocations: 17.08 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.3909, allocations: 63.41 kB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3909, allocations: 4 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.4149, allocations: 5.848 MB / 1.227 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.405, allocations: 15.8 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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]