Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001758/0.001758, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002105/0.002105, allocations: 184.4 kB / 22.22 MB, free: 5.102 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.381/1.381, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 443.5 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.6614, allocations: 160.8 MB / 1.218 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003123/0.6645, allocations: 1.552 MB / 1.22 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.6647, allocations: 32.75 kB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.6647, allocations: 5.281 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.6649, allocations: 16.92 kB / 1.22 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.6649, allocations: 5.062 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.665, allocations: 18.78 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.6651, allocations: 47.09 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.6653, allocations: 25.25 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.6653, allocations: 21.36 kB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.6654, allocations: 28.73 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6654, allocations: 5.125 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.6654, allocations: 4.469 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.6655, allocations: 26.7 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.6655, allocations: 25.41 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.6656, allocations: 58.7 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6656, allocations: 0 / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6656, allocations: 0 / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6656, allocations: 0 / 1.22 GB, free: 2.43 MB / 0.92 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.0004417/0.6661, allocations: 371.6 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.6661, allocations: 10.41 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.6661, allocations: 7.953 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.6663, allocations: 185.1 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.6663, allocations: 6.844 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.6664, allocations: 9.125 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.6665, allocations: 102.8 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.6665, allocations: 192 / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6665, allocations: 5.906 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6666, allocations: 1.156 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.6666, allocations: 46.44 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.6673, allocations: 0.6412 MB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.6674, allocations: 166.3 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.6674, allocations: 84.14 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.6674, allocations: 80.31 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.6675, allocations: 111.2 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6675, allocations: 0 / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.66e-05/0.6676, allocations: 37.03 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.6677, allocations: 127.9 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.6678, allocations: 176 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.6679, allocations: 25.7 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.6679, allocations: 105.4 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.6679, allocations: 0 / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.668, allocations: 16.62 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6681, allocations: 321.7 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.6682, allocations: 2.125 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.6682, allocations: 34.91 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.6682, allocations: 19.8 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6682, allocations: 3.938 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001273/0.6684, allocations: 58.53 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6684, allocations: 5.812 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6684, allocations: 96 / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6684, allocations: 9 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.6685, allocations: 12.92 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6685, allocations: 1.125 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.6685, allocations: 10.11 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.6685, allocations: 2.094 kB / 1.223 GB, free: 15.65 MB / 0.9356 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.0001237/0.6686, allocations: 190.2 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.6687, allocations: 112.2 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.6688, allocations: 120.7 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.6689, allocations: 181.4 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-05/0.6689, allocations: 177.5 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/0.669, allocations: 189.3 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.6693, allocations: 418 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.6694, allocations: 105.9 kB / 1.224 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.6694, allocations: 111 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.6695, allocations: 176.3 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/0.6696, allocations: 185.7 kB / 1.225 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.613e-05/0.6697, allocations: 181.7 kB / 1.225 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.363e-05/0.6698, allocations: 180.2 kB / 1.225 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.6699, allocations: 319.1 kB / 1.226 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.67, allocations: 184.7 kB / 1.226 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.6701, allocations: 189.5 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.6702, allocations: 104.9 kB / 1.226 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.6703, allocations: 182.3 kB / 1.226 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6704, allocations: 108.9 kB / 1.226 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001115/0.6705, allocations: 129.7 kB / 1.226 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.6705, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002333/0.6707, allocations: 6.625 kB / 1.226 GB, free: 12.03 MB / 0.9356 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.0001342/0.6708, allocations: 177 kB / 1.227 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.6709, allocations: 10.38 kB / 1.227 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6709, allocations: 8.125 kB / 1.227 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.6709, allocations: 4.844 kB / 1.227 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.6713, allocations: 466.8 kB / 1.227 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.6717, allocations: 237.5 kB / 1.227 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.672, allocations: 0.6931 MB / 1.228 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.6721, allocations: 8.016 kB / 1.228 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.6721, allocations: 10.59 kB / 1.228 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.6721, allocations: 0 / 1.228 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.002717/0.6748, allocations: 461.7 kB / 1.228 GB, free: 10.21 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.859960124827921]