Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001989/0.001989, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.00249/0.00249, allocations: 166 kB / 22.46 MB, free: 5.375 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.436/1.436, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.643e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002931/0.002958, allocations: 1.56 MB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.00309, allocations: 27.86 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.003143, allocations: 0 / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.003268, allocations: 7.922 kB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.003315, allocations: 15.86 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.003421, allocations: 11.98 kB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003527, allocations: 47.84 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.003669, allocations: 27.92 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.003727, allocations: 27.95 kB / 0.9527 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.0038, allocations: 27.91 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.003823, allocations: 4 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.003839, allocations: 4 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.003888, allocations: 19.92 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.003928, allocations: 15.98 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.004053, allocations: 59.67 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.004058, allocations: 4 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004059, allocations: 0 / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004064, allocations: 3.938 kB / 0.9528 GB, free: 9.695 MB / 0.8575 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.0004298/0.004493, allocations: 290.2 kB / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.004528, allocations: 8.031 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.004561, allocations: 8.891 kB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.004736, allocations: 129.7 kB / 0.9532 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.004749, allocations: 4.375 kB / 0.9532 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.004763, allocations: 8.375 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.004944, allocations: 103 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.004953, allocations: 192 / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.004966, allocations: 4.375 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.004977, allocations: 4.375 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.005074, allocations: 51.84 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.005654, allocations: 0.5579 MB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.005758, allocations: 169.1 kB / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.005797, allocations: 80.14 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.00583, allocations: 75.28 kB / 0.9542 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.00589, allocations: 117.8 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.005891, allocations: 3.938 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.584e-05/0.005967, allocations: 34.3 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.006036, allocations: 126.7 kB / 0.9545 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.006167, allocations: 125.8 kB / 0.9546 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.006183, allocations: 25.7 kB / 0.9546 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.006261, allocations: 107.9 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.006266, allocations: 4 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006303, allocations: 13.72 kB / 0.9548 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.006444, allocations: 322.8 kB / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.006462, allocations: 4 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.006492, allocations: 22.56 kB / 0.9551 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.006544, allocations: 34.52 kB / 0.9551 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006546, allocations: 0 / 0.9551 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001289/0.006675, allocations: 53.62 kB / 0.9552 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.00669, allocations: 8 kB / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006694, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006707, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.006767, allocations: 4 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.006776, allocations: 7.938 kB / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.006813, allocations: 15.81 kB / 0.9552 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.006817, allocations: 0 / 0.9552 GB, free: 7 MB / 0.8575 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.0001201/0.006937, allocations: 197.2 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.007012, allocations: 101 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.007074, allocations: 116.4 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/0.00715, allocations: 176.3 kB / 0.9558 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/0.007229, allocations: 184.2 kB / 0.9559 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.007306, allocations: 184.3 kB / 0.9561 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.007559, allocations: 376.8 kB / 0.9565 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/0.00761, allocations: 108.9 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.007656, allocations: 105 kB / 0.9567 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/0.007736, allocations: 184.3 kB / 0.9569 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.007827, allocations: 184.2 kB / 0.957 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.0079, allocations: 180.2 kB / 0.9572 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-05/0.007979, allocations: 188.1 kB / 0.9574 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.008137, allocations: 307.7 kB / 0.9577 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.008198, allocations: 112.9 kB / 0.9578 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.008284, allocations: 176.3 kB / 0.958 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.008378, allocations: 108.9 kB / 0.9581 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.00846, allocations: 176.3 kB / 0.9582 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.008505, allocations: 105 kB / 0.9583 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.008576, allocations: 95.7 kB / 0.9584 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.008576, allocations: 0 / 0.9584 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002354/0.008811, allocations: 19.89 kB / 0.9584 GB, free: 3.5 MB / 0.8575 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.0001418/0.008953, allocations: 182.4 kB / 0.9586 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.009017, allocations: 8 kB / 0.9586 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009019, allocations: 0 / 0.9586 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.00902, allocations: 0 / 0.9586 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.009415, allocations: 463.6 kB / 0.9591 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.009765, allocations: 224.1 kB / 0.9593 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.009849, allocations: 79.45 kB / 0.9594 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.009863, allocations: 4 kB / 0.9594 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.009884, allocations: 8.5 kB / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.009884, allocations: 0 / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.002508/0.01239, allocations: 268.8 kB / 0.9596 GB, free: 2.23 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.836083319038153]