Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_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.001033/0.001033, 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.001053/0.001053, allocations: 194.6 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.082/2.082, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.529, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002552/0.5316, allocations: 1.89 MB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.5343, allocations: 3.457 MB / 0.9549 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.5344, allocations: 5.156 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.5346, allocations: 57.92 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.535, allocations: 127.4 kB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-05/0.535, allocations: 28.09 kB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.5352, allocations: 172 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.5353, allocations: 24.27 kB / 0.9553 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.5354, allocations: 78.55 kB / 0.9554 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.5356, allocations: 87.52 kB / 0.9555 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.5356, allocations: 9.094 kB / 0.9555 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.5357, allocations: 23.27 kB / 0.9555 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.5357, allocations: 47.08 kB / 0.9556 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.5358, allocations: 74.38 kB / 0.9556 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.536, allocations: 152 kB / 0.9558 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.536, allocations: 0 / 0.9558 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.536, allocations: 1.062 kB / 0.9558 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.536, allocations: 4 kB / 0.9558 GB, free: 4.316 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006494/0.5366, allocations: 0.5018 MB / 0.9563 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.5367, allocations: 9.656 kB / 0.9563 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.5367, allocations: 41.12 kB / 0.9563 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.5368, allocations: 17.38 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.537, allocations: 244.5 kB / 0.9566 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.537, allocations: 10 kB / 0.9566 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.5371, allocations: 4.344 kB / 0.9566 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.5374, allocations: 141.7 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5374, allocations: 3.984 kB / 0.9567 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5374, allocations: 0 / 0.9567 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.5374, allocations: 7.969 kB / 0.9567 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.5378, allocations: 146.4 kB / 0.9569 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.5383, allocations: 443.8 kB / 0.9573 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.5387, allocations: 158.7 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.5389, allocations: 100.1 kB / 0.9576 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5389, allocations: 5.438 kB / 0.9576 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.5389, allocations: 39.95 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.5389, allocations: 1.531 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007195/0.5397, allocations: 277.4 kB / 0.9579 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.5397, allocations: 53.72 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5398, allocations: 208.6 kB / 0.9581 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.5399, allocations: 31.08 kB / 0.9581 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.5399, allocations: 119.7 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.5399, allocations: 41.05 kB / 0.9583 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.54, allocations: 27.48 kB / 0.9583 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.54, allocations: 331.6 kB / 0.9586 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.5402, allocations: 77.59 kB / 0.9587 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.5404, allocations: 75.23 kB / 0.9588 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.5408, allocations: 163.5 kB / 0.9589 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5408, allocations: 0 / 0.9589 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004546/0.5413, allocations: 213.2 kB / 0.9591 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5413, allocations: 6.031 kB / 0.9591 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5413, allocations: 4 kB / 0.9592 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5413, allocations: 0 / 0.9592 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.5416, allocations: 36.66 kB / 0.9592 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5416, allocations: 0 / 0.9592 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.5417, allocations: 16.17 kB / 0.9592 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5417, allocations: 12.05 kB / 0.9592 GB, free: 1.562 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 (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 6.893e-05/0.5418, allocations: 126.1 kB / 0.9593 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.5419, allocations: 27.95 kB / 0.9594 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.5419, allocations: 23.34 kB / 0.9594 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5419, allocations: 1.375 kB / 0.9594 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5419, allocations: 0 / 0.9594 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5419, allocations: 5.359 kB / 0.9594 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.5421, allocations: 254.7 kB / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5421, allocations: 0 / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.5423, allocations: 36.7 kB / 0.9597 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5423, allocations: 7.938 kB / 0.9597 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5424, allocations: 5.375 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5424, allocations: 1.375 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5424, allocations: 0 / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.5428, allocations: 307.4 kB / 0.96 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.5429, allocations: 114.3 kB / 0.9601 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.5429, allocations: 5.844 kB / 0.9601 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5431, allocations: 11.11 kB / 0.9601 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.5432, allocations: 15.98 kB / 0.9601 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.5432, allocations: 3.938 kB / 0.9601 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.5433, allocations: 158.8 kB / 0.9603 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5433, allocations: 0 / 0.9603 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000255/0.5435, allocations: 34.94 kB / 0.9603 GB, free: 0.6367 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 (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.0006755/0.5442, allocations: 0.844 MB / 0.9611 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.5447, allocations: 188.2 kB / 0.9613 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5447, allocations: 0 / 0.9613 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.545, allocations: 91.69 kB / 0.9614 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.5453, allocations: 32.88 kB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.5482, allocations: 2.236 MB / 0.9636 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.5484, allocations: 0.7352 MB / 0.9643 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.5486, allocations: 50.73 kB / 0.9644 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.5487, allocations: 51.25 kB / 0.9644 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5487, allocations: 0 / 0.9644 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.822, allocations: 3.695 MB / 0.968 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/10.63, allocations: 11 kB / 0.968 GB, free: 11.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches