Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 1.136 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8689, allocations: 173.7 MB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002856/0.8717, allocations: 1.543 MB / 1.307 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.8718, allocations: 35.94 kB / 1.307 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.8719, allocations: 1.219 kB / 1.307 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.872, allocations: 8.5 kB / 1.307 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.872, allocations: 10 kB / 1.307 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.8722, allocations: 25.91 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.8723, allocations: 42.41 kB / 1.307 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.8724, allocations: 28.95 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.8725, allocations: 20.77 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.8725, allocations: 27.95 kB / 1.307 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.8726, allocations: 4.625 kB / 1.307 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.8726, allocations: 8.656 kB / 1.307 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.8726, allocations: 18.59 kB / 1.307 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.8727, allocations: 27.47 kB / 1.307 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.8728, allocations: 65.34 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8728, allocations: 1.531 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8728, allocations: 0 / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.8728, allocations: 4.641 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004333/0.8732, allocations: 366.8 kB / 1.308 GB, free: 15.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.8733, allocations: 9.703 kB / 1.308 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.8733, allocations: 13.3 kB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.8735, allocations: 176 kB / 1.308 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.8735, allocations: 8.062 kB / 1.308 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.8735, allocations: 8.859 kB / 1.308 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8737, allocations: 105.7 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8737, allocations: 0.8906 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8737, allocations: 5.531 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8737, allocations: 2.219 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.8738, allocations: 48.33 kB / 1.308 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.8745, allocations: 0.6383 MB / 1.309 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.8746, allocations: 170.5 kB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.8746, allocations: 84.7 kB / 1.309 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.8746, allocations: 75.28 kB / 1.309 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.8747, allocations: 107.3 kB / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8747, allocations: 0 / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.8748, allocations: 42.77 kB / 1.309 GB, free: 13.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.8749, allocations: 131.2 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.8751, allocations: 166 kB / 1.309 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8751, allocations: 25.7 kB / 1.309 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.8752, allocations: 107.4 kB / 1.309 GB, free: 13.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.8752, allocations: 1.469 kB / 1.309 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.8752, allocations: 13.67 kB / 1.309 GB, free: 13.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8753, allocations: 319 kB / 1.31 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.8754, allocations: 10.97 kB / 1.31 GB, free: 12.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.8754, allocations: 23.19 kB / 1.31 GB, free: 12.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.8754, allocations: 30 kB / 1.31 GB, free: 12.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8754, allocations: 3.938 kB / 1.31 GB, free: 12.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/0.8756, allocations: 56.3 kB / 1.31 GB, free: 12.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.8756, allocations: 9.812 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8756, allocations: 0.6562 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8756, allocations: 5.062 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.8757, allocations: 5.047 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8757, allocations: 1.734 kB / 1.31 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.8757, allocations: 10.92 kB / 1.31 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8757, allocations: 5.219 kB / 1.31 GB, free: 12.78 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001118/0.8758, allocations: 192.3 kB / 1.31 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.8759, allocations: 118.5 kB / 1.31 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.876, allocations: 114.5 kB / 1.31 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.742e-05/0.876, allocations: 182 kB / 1.311 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-05/0.8761, allocations: 182.2 kB / 1.311 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.043e-05/0.8762, allocations: 188.8 kB / 1.311 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.8765, allocations: 426.9 kB / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.8766, allocations: 102.7 kB / 1.311 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.8766, allocations: 106.9 kB / 1.311 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.352e-05/0.8767, allocations: 177.8 kB / 1.312 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/0.8768, allocations: 186 kB / 1.312 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.525e-05/0.8769, allocations: 182.6 kB / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-05/0.877, allocations: 180.9 kB / 1.312 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.8771, allocations: 312.2 kB / 1.312 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.8772, allocations: 195.1 kB / 1.313 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.8773, allocations: 186.8 kB / 1.313 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.8774, allocations: 102.8 kB / 1.313 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.8775, allocations: 184.9 kB / 1.313 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.8776, allocations: 103 kB / 1.313 GB, free: 9.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001206/0.8777, allocations: 130.7 kB / 1.313 GB, free: 9.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.8777, allocations: 0 / 1.313 GB, free: 9.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002397/0.8779, allocations: 6.188 kB / 1.313 GB, free: 9.18 MB / 1.014 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 (0): * Single equations (assignments): 0 * 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.0001351/0.8781, allocations: 173.7 kB / 1.314 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.8781, allocations: 18.86 kB / 1.314 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8781, allocations: 0 / 1.314 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.8781, allocations: 0 / 1.314 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.8786, allocations: 465.8 kB / 1.314 GB, free: 8.555 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.879, allocations: 241.9 kB / 1.314 GB, free: 8.344 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.8793, allocations: 0.7011 MB / 1.315 GB, free: 7.641 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.8794, allocations: 6.422 kB / 1.315 GB, free: 7.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.8794, allocations: 10.16 kB / 1.315 GB, free: 7.633 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8794, allocations: 0 / 1.315 GB, free: 7.633 MB / 1.014 GB Notification: Performance of Templates: time 0.002688/0.8821, allocations: 445.9 kB / 1.315 GB, free: 7.555 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.79188724886626]