Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.007248/0.007247, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.001554/0.001554, allocations: 200 kB / 16.68 MB, free: 5.922 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8527, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003321/0.856, allocations: 1.912 MB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004238/0.8603, allocations: 3.445 MB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.8604, allocations: 0 / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.8608, allocations: 55.61 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.8613, allocations: 135.2 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.134e-05/0.8614, allocations: 23.95 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.8616, allocations: 167.2 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.8617, allocations: 29.67 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.862, allocations: 83.69 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.8621, allocations: 87.55 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.8622, allocations: 8 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.8623, allocations: 23.98 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.8624, allocations: 35.84 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.8625, allocations: 79.48 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.8627, allocations: 167.3 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8627, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8627, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8627, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000937/0.8637, allocations: 0.5023 MB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.8637, allocations: 12.03 kB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.8638, allocations: 38.75 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.8638, allocations: 20.66 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.8642, allocations: 246.8 kB / 1.214 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8643, allocations: 4.375 kB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.8643, allocations: 4.375 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.8647, allocations: 137.5 kB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.8647, allocations: 4 kB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8647, allocations: 4 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.8647, allocations: 8 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.8652, allocations: 139.8 kB / 1.214 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.8659, allocations: 440.5 kB / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.8664, allocations: 162.5 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.8666, allocations: 104.8 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.8667, allocations: 3.984 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.8667, allocations: 34.5 kB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.8667, allocations: 0 / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008378/0.8676, allocations: 285.6 kB / 1.215 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.8676, allocations: 55.41 kB / 1.215 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.8678, allocations: 205 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8678, allocations: 29.7 kB / 1.216 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.8679, allocations: 120.1 kB / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.868, allocations: 39.36 kB / 1.216 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.868, allocations: 37.7 kB / 1.216 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8682, allocations: 330.8 kB / 1.216 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.8684, allocations: 71.94 kB / 1.216 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.8686, allocations: 75.38 kB / 1.216 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.8691, allocations: 160.7 kB / 1.216 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8691, allocations: 0 / 1.216 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005303/0.8696, allocations: 205.4 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8697, allocations: 4 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8697, allocations: 4 kB / 1.217 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8697, allocations: 0 / 1.217 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.87, allocations: 39.91 kB / 1.217 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.87, allocations: 0 / 1.217 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.8701, allocations: 23.83 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.8702, allocations: 11.92 kB / 1.217 GB, free: 3.543 MB / 0.9356 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001053/0.8703, allocations: 129.8 kB / 1.217 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.8703, allocations: 19.81 kB / 1.217 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.8704, allocations: 25.83 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8704, allocations: 4 kB / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8704, allocations: 0 / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8704, allocations: 3.938 kB / 1.217 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.8707, allocations: 265.4 kB / 1.217 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8707, allocations: 0 / 1.217 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.8709, allocations: 39.91 kB / 1.217 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8709, allocations: 4 kB / 1.217 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.871, allocations: 3.984 kB / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.871, allocations: 0 / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.871, allocations: 0 / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.8715, allocations: 307.2 kB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.8716, allocations: 116.7 kB / 1.218 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.8717, allocations: 4 kB / 1.218 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.8719, allocations: 11.98 kB / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.8719, allocations: 11.98 kB / 1.218 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8719, allocations: 4 kB / 1.218 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001354/0.8721, allocations: 160.4 kB / 1.218 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8721, allocations: 4 kB / 1.218 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000276/0.8724, allocations: 36 kB / 1.218 GB, free: 2.324 MB / 0.9356 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 (13): * Single equations (assignments): 13 * 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.0009166/0.8733, allocations: 0.8407 MB / 1.219 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.8738, allocations: 171.8 kB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8738, allocations: 0 / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.8741, allocations: 95.86 kB / 1.219 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.8745, allocations: 28.64 kB / 1.219 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.8775, allocations: 2.243 MB / 1.221 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.8778, allocations: 0.7236 MB / 1.222 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.878, allocations: 44.61 kB / 1.222 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.805e-05/0.8781, allocations: 55.41 kB / 1.222 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.8781, allocations: 0 / 1.222 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.899, allocations: 3.831 MB / 1.226 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.433, allocations: 16.95 kB / 1.226 GB, free: 10.33 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches