Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.002604/0.002604, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003173/0.003173, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.084/3.084, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.994e-05/4.212e-05, allocations: 7.094 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.005196/0.005238, allocations: 1.557 MB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.005441, allocations: 29.27 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.005514, allocations: 4 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.00569, allocations: 11.86 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.00575, allocations: 4.938 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.005912, allocations: 23.97 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.006071, allocations: 43.84 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.006246, allocations: 25.12 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.006345, allocations: 31.91 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.006449, allocations: 23.91 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.006482, allocations: 4.656 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.006505, allocations: 9.25 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.006581, allocations: 19.91 kB / 0.8126 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.006648, allocations: 15.94 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.006834, allocations: 55.8 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.006839, allocations: 2.438 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00684, allocations: 0 / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.006846, allocations: 0 / 0.8126 GB, free: 272 kB / 0.7605 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.0007202/0.007566, allocations: 396.1 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.007629, allocations: 8.031 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.007694, allocations: 12.89 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.007969, allocations: 129.9 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.007992, allocations: 8.375 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.008015, allocations: 8.359 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.008274, allocations: 97.23 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.008286, allocations: 1.125 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.0083, allocations: 384 / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.008306, allocations: 5.125 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.008442, allocations: 35.86 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.009635, allocations: 0.7934 MB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.009892, allocations: 278.7 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01, allocations: 126.9 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.0101, allocations: 127.2 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.01023, allocations: 157.7 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.01023, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001149/0.01035, allocations: 29.66 kB / 0.8148 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003898/0.01074, allocations: 171.5 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.01102, allocations: 189.9 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01105, allocations: 26.2 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.01122, allocations: 170.5 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.01122, allocations: 0.8125 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.01129, allocations: 19.38 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000398/0.01168, allocations: 0.4894 MB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.01171, allocations: 4 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.01178, allocations: 35.05 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.01188, allocations: 36.59 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01188, allocations: 4.438 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002194/0.0121, allocations: 55.53 kB / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.01212, allocations: 7.984 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01213, allocations: 0 / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01215, allocations: 0 / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.01222, allocations: 9.5 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.01224, allocations: 0 / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.01229, allocations: 3.938 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01231, allocations: 7.984 kB / 0.8159 GB, free: 12.62 MB / 0.7761 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.0002612/0.01257, allocations: 276.9 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.01273, allocations: 156.8 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01288, allocations: 156.3 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002073/0.01309, allocations: 268.6 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002198/0.01331, allocations: 268.5 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/0.01352, allocations: 268.1 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.01411, allocations: 0.5202 MB / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001299/0.01423, allocations: 144.9 kB / 0.8179 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.01435, allocations: 149.7 kB / 0.8181 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.01457, allocations: 268 kB / 0.8183 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/0.01478, allocations: 269.3 kB / 0.8186 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002136/0.015, allocations: 276 kB / 0.8188 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004006/0.0154, allocations: 264.1 kB / 0.8191 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.01581, allocations: 451.9 kB / 0.8195 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.01596, allocations: 153.6 kB / 0.8197 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.0162, allocations: 272 kB / 0.8199 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.01641, allocations: 153.8 kB / 0.8201 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.01662, allocations: 268 kB / 0.8203 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.01674, allocations: 150.8 kB / 0.8205 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001702/0.01691, allocations: 139.2 kB / 0.8206 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01691, allocations: 0 / 0.8206 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004298/0.01734, allocations: 4 kB / 0.8206 GB, free: 7.652 MB / 0.7761 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.0002807/0.01762, allocations: 227.5 kB / 0.8208 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.01775, allocations: 22.84 kB / 0.8209 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01776, allocations: 0 / 0.8209 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.01776, allocations: 0 / 0.8209 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.01866, allocations: 0.7085 MB / 0.8215 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.01932, allocations: 277.2 kB / 0.8218 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.01947, allocations: 87.11 kB / 0.8219 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.01948, allocations: 1.125 kB / 0.8219 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.01952, allocations: 8.5 kB / 0.8219 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01952, allocations: 0 / 0.8219 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.004692/0.02421, allocations: 285.4 kB / 0.8222 GB, free: 6.004 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.168911546934396]