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.001033/0.001033, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002579, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009484/0.0009484, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002406, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9075/0.9075, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0867/0.9942, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.775/1.775, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4787/2.254, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.713e-06/1.713e-06, allocations: 0.7656 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.709e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002904/0.002921, allocations: 1.653 MB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.00303, allocations: 32.94 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.003075, allocations: 3 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.00314, allocations: 15.86 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.00318, allocations: 2.953 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.727e-05/0.003277, allocations: 27.95 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.003382, allocations: 40.3 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003492, allocations: 24.64 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.003576, allocations: 38.84 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.003651, allocations: 26.88 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.003676, allocations: 4 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.003691, allocations: 5.406 kB / 0.7315 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.003734, allocations: 15.48 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.003766, allocations: 15.28 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003875, allocations: 34.27 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.003887, allocations: 0.5312 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003889, allocations: 5.594 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.003904, allocations: 0 / 0.7315 GB, free: 2.523 MB / 0.698 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.0004367/0.004341, allocations: 280.4 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.004375, allocations: 8.031 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.004413, allocations: 9.859 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.004554, allocations: 121.7 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004565, allocations: 8.812 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.004581, allocations: 9.016 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004698, allocations: 80.8 kB / 0.732 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.004707, allocations: 1.312 kB / 0.732 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004717, allocations: 4.375 kB / 0.732 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.004726, allocations: 4.375 kB / 0.732 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.004768, allocations: 20.67 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.005218, allocations: 0.5025 MB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.005327, allocations: 177.2 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.005356, allocations: 88.75 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.005377, allocations: 75.28 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.005416, allocations: 110.8 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.005417, allocations: 4 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.042e-05/0.005478, allocations: 26.39 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.005524, allocations: 126.7 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.00562, allocations: 132 kB / 0.7333 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.00563, allocations: 25.7 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.005685, allocations: 115.8 kB / 0.7334 GB, free: 484 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.005689, allocations: 4 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.005721, allocations: 14.39 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.005881, allocations: 318.8 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.00589, allocations: 1.375 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.00591, allocations: 22.56 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.005955, allocations: 32.16 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005957, allocations: 3.938 kB / 0.7338 GB, free: 56 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.85e-05/0.006046, allocations: 46.44 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.006061, allocations: 4 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.006067, allocations: 1.25 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.006098, allocations: 4.047 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.006152, allocations: 4 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006155, allocations: 1.75 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.00618, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.006185, allocations: 7.938 kB / 0.7338 GB, free: 15.98 MB / 0.7136 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 8.108e-05/0.006266, allocations: 187.9 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.006321, allocations: 114.1 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.006366, allocations: 112.5 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.006413, allocations: 176.3 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/0.006462, allocations: 185.5 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/0.00651, allocations: 180.3 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.006688, allocations: 333.3 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.006716, allocations: 101 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.006747, allocations: 106.2 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.006943, allocations: 112.9 kB / 0.7354 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.006999, allocations: 180.3 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.007054, allocations: 185.5 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.196e-05/0.007106, allocations: 180.5 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.933e-05/0.007155, allocations: 180.2 kB / 0.7361 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007274, allocations: 320.7 kB / 0.7364 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.007331, allocations: 184.2 kB / 0.7366 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.007411, allocations: 105 kB / 0.7367 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.007466, allocations: 180.7 kB / 0.7368 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.007496, allocations: 101 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.007529, allocations: 22.06 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.007529, allocations: 0 / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001972/0.007726, allocations: 7.938 kB / 0.737 GB, free: 12.63 MB / 0.7136 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.0001103/0.007836, allocations: 153.6 kB / 0.7371 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.758e-05/0.007904, allocations: 24.78 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.007909, allocations: 0.5 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.007913, allocations: 3.938 kB / 0.7371 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.00818, allocations: 468.4 kB / 0.7376 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.008753, allocations: 228.3 kB / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.008792, allocations: 61.12 kB / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.008807, allocations: 3.984 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.008845, allocations: 51.38 kB / 0.7379 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.008845, allocations: 0 / 0.7379 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.001801/0.01065, allocations: 301.8 kB / 0.7382 GB, free: 11.32 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.587892666459084]