Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.862/2.862, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8401, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003342/0.8434, allocations: 2.01 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.8484, allocations: 3.891 MB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.8486, allocations: 2.812 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.8495, allocations: 193.2 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.8497, allocations: 66.84 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.8506, allocations: 311.2 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.8513, allocations: 391 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.8514, allocations: 42.53 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.8516, allocations: 111.6 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.8518, allocations: 122.3 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.8519, allocations: 19.88 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.8525, allocations: 309.6 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.8527, allocations: 105.6 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.8528, allocations: 122.8 kB / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.8535, allocations: 0.5292 MB / 1.195 GB, free: 11.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8535, allocations: 4.812 kB / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8535, allocations: 0 / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8535, allocations: 1.5 kB / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001272/0.8548, allocations: 0.6972 MB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.8548, allocations: 9.75 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.8559, allocations: 154.3 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.8565, allocations: 298.5 kB / 1.196 GB, free: 10.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8565, allocations: 12.56 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.8565, allocations: 10.25 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.8571, allocations: 215.8 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8571, allocations: 0 / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.8571, allocations: 9.125 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.8571, allocations: 2.469 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.8579, allocations: 259 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.859, allocations: 0.5074 MB / 1.197 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.8594, allocations: 181 kB / 1.197 GB, free: 9.988 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.8598, allocations: 132.7 kB / 1.197 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.8598, allocations: 20.48 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.8599, allocations: 32.03 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.8599, allocations: 0 / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00134/0.8612, allocations: 478.8 kB / 1.198 GB, free: 9.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.8612, allocations: 54.5 kB / 1.198 GB, free: 9.707 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.8617, allocations: 416.4 kB / 1.198 GB, free: 9.516 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.8617, allocations: 30.86 kB / 1.198 GB, free: 9.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.8618, allocations: 181.2 kB / 1.198 GB, free: 9.328 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.8618, allocations: 38.77 kB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.8619, allocations: 42.3 kB / 1.198 GB, free: 9.273 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.862, allocations: 352.5 kB / 1.199 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.8624, allocations: 222.7 kB / 1.199 GB, free: 8.863 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.8629, allocations: 218.8 kB / 1.199 GB, free: 8.789 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.8637, allocations: 380.9 kB / 1.199 GB, free: 8.664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8637, allocations: 0.7969 kB / 1.199 GB, free: 8.664 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00104/0.8648, allocations: 0.5268 MB / 1.2 GB, free: 8.453 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.8648, allocations: 45.61 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8648, allocations: 0.7031 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8648, allocations: 0.8438 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.8652, allocations: 45.31 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8652, allocations: 5.281 kB / 1.2 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.8655, allocations: 38.7 kB / 1.2 GB, free: 8.402 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.8655, allocations: 11.66 kB / 1.2 GB, free: 8.398 MB / 1.076 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001343/0.8657, allocations: 158.7 kB / 1.2 GB, free: 8.266 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.8657, allocations: 34.89 kB / 1.2 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8667, allocations: 370.7 kB / 1.201 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8667, allocations: 2.156 kB / 1.201 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8667, allocations: 0 / 1.201 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8667, allocations: 5.719 kB / 1.201 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.8671, allocations: 278.2 kB / 1.201 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8671, allocations: 4.75 kB / 1.201 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.8674, allocations: 48.06 kB / 1.201 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8674, allocations: 5.688 kB / 1.201 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.8674, allocations: 8.578 kB / 1.201 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8674, allocations: 0 / 1.201 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8674, allocations: 1.953 kB / 1.201 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.8684, allocations: 441.9 kB / 1.201 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.8685, allocations: 56.86 kB / 1.201 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.8686, allocations: 1.125 kB / 1.201 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.8689, allocations: 31.44 kB / 1.201 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.869, allocations: 15.55 kB / 1.201 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.869, allocations: 9.906 kB / 1.201 GB, free: 7.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002999/0.8693, allocations: 293 kB / 1.202 GB, free: 7.523 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8693, allocations: 7.875 kB / 1.202 GB, free: 7.516 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005487/0.8698, allocations: 119 kB / 1.202 GB, free: 7.496 MB / 1.076 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 (11): * Single equations (assignments): 11 * 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.0003486/0.8702, allocations: 170.7 kB / 1.202 GB, free: 7.387 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.8712, allocations: 478 kB / 1.202 GB, free: 7.207 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8712, allocations: 0 / 1.202 GB, free: 7.207 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.8716, allocations: 147.6 kB / 1.203 GB, free: 7.176 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.8721, allocations: 64.81 kB / 1.203 GB, free: 7.148 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8732, allocations: 0.6474 MB / 1.203 GB, free: 6.801 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8734, allocations: 189 kB / 1.203 GB, free: 6.707 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.8736, allocations: 61.22 kB / 1.204 GB, free: 6.684 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.8737, allocations: 25.3 kB / 1.204 GB, free: 6.676 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.8737, allocations: 4 kB / 1.204 GB, free: 6.672 MB / 1.076 GB Notification: Performance of Templates: time 0.01093/0.8846, allocations: 5.226 MB / 1.209 GB, free: 6.137 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.827392493956722]