Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_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.004822/0.004822, allocations: 101 kB / 15.73 MB, free: 6.059 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.001321/0.001321, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001899, allocations: 68.06 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6577, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002991/0.6608, allocations: 1.909 MB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.6648, allocations: 3.447 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.6649, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.6652, allocations: 54.3 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.6656, allocations: 131.3 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.964e-05/0.6657, allocations: 23.95 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.666, allocations: 171.2 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.6661, allocations: 25.67 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.6662, allocations: 83.62 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.6664, allocations: 83.61 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.6664, allocations: 8 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.6665, allocations: 27.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.6666, allocations: 43.84 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.6667, allocations: 67.55 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.6669, allocations: 176.1 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.6669, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.92e-07/0.667, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.667, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 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.0008714/0.6678, allocations: 0.5022 MB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6679, allocations: 16.86 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.6679, allocations: 38.73 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.668, allocations: 20.8 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6684, allocations: 247 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.6684, allocations: 4.375 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.6684, allocations: 4.375 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.6688, allocations: 137.5 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6688, allocations: 3.984 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6688, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.6688, allocations: 15.92 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.6693, allocations: 139.8 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.67, allocations: 444.5 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.6705, allocations: 166.5 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.6707, allocations: 104.8 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6708, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.6708, allocations: 30.56 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.6708, allocations: 0 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008626/0.6717, allocations: 290.7 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6717, allocations: 55.41 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.6719, allocations: 205 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.672, allocations: 29.7 kB / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.6721, allocations: 124.1 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.6721, allocations: 55.58 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.6722, allocations: 25.7 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6724, allocations: 334.8 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.6726, allocations: 71.94 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.6728, allocations: 69.69 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.6733, allocations: 164.7 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6733, allocations: 0 / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005515/0.6739, allocations: 206 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6739, allocations: 8 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6739, allocations: 0 / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.6739, allocations: 3.984 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.6742, allocations: 31.97 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6742, allocations: 0 / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.6743, allocations: 15.94 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.6744, allocations: 15.92 kB / 1.176 GB, free: 9.773 MB / 0.9044 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.0001247/0.6745, allocations: 129.8 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.6745, allocations: 19.86 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.6746, allocations: 25.83 kB / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6746, allocations: 4 kB / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6746, allocations: 0 / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6746, allocations: 3.938 kB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.675, allocations: 261.4 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.675, allocations: 4 kB / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6752, allocations: 39.91 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6752, allocations: 0 / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.6752, allocations: 3.984 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6752, allocations: 0 / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6752, allocations: 0 / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.6758, allocations: 316.7 kB / 1.176 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.676, allocations: 105 kB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.676, allocations: 7.984 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.6762, allocations: 11.98 kB / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.6763, allocations: 11.98 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.6763, allocations: 8 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001412/0.6764, allocations: 164.4 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.6764, allocations: 0 / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002747/0.6767, allocations: 35.95 kB / 1.177 GB, free: 8.551 MB / 0.9044 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.0009746/0.6777, allocations: 0.8461 MB / 1.178 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.6782, allocations: 167.8 kB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6782, allocations: 0 / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.6785, allocations: 101 kB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.6789, allocations: 20.66 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.6822, allocations: 2.256 MB / 1.18 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6826, allocations: 0.7312 MB / 1.181 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.6827, allocations: 48.58 kB / 1.181 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6829, allocations: 56.16 kB / 1.181 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.6829, allocations: 4 kB / 1.181 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.7074, allocations: 3.766 MB / 1.185 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.641, allocations: 12.33 kB / 1.185 GB, free: 0.582 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches