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.001632/0.001632, allocations: 114.8 kB / 17.08 MB, free: 5.953 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.001869/0.001869, allocations: 193.2 kB / 20.03 MB, free: 3.027 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.59/1.59, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002/0.002, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002927/0.3214, allocations: 1.547 MB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.3215, allocations: 23.88 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.3216, allocations: 4 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3217, allocations: 15.86 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.3218, allocations: 11.92 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.3219, allocations: 15.97 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.322, allocations: 47.84 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3222, allocations: 39.88 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.3222, allocations: 19.92 kB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.3223, allocations: 27.86 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3223, allocations: 4 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3223, allocations: 4 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.3224, allocations: 23.91 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.3224, allocations: 31.8 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3226, allocations: 51.75 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3226, allocations: 0 / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3226, allocations: 4 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3226, allocations: 0 / 1.178 GB, free: 3.984 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.0004759/0.3231, allocations: 367.2 kB / 1.178 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3231, allocations: 12.03 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3232, allocations: 8.891 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3234, allocations: 184.2 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3234, allocations: 384 / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3234, allocations: 12.38 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3236, allocations: 96.8 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3236, allocations: 192 / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3236, allocations: 7.938 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3236, allocations: 4 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.3237, allocations: 39.92 kB / 1.178 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.3244, allocations: 0.648 MB / 1.179 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3245, allocations: 169.1 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.3246, allocations: 80.14 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3247, allocations: 79.22 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.3248, allocations: 113.8 kB / 1.179 GB, free: 2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3248, allocations: 0 / 1.179 GB, free: 2 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.128e-05/0.3249, allocations: 37.59 kB / 1.179 GB, free: 1.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.3249, allocations: 126.7 kB / 1.18 GB, free: 1.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3251, allocations: 169.1 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3252, allocations: 25.7 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.3253, allocations: 108 kB / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.3253, allocations: 3.938 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3253, allocations: 21.72 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3255, allocations: 318.8 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.3255, allocations: 4 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.3255, allocations: 26.56 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.3256, allocations: 30.56 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3256, allocations: 0 / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001232/0.3257, allocations: 61.53 kB / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3258, allocations: 4 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3258, allocations: 0 / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3258, allocations: 7.875 kB / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.3259, allocations: 11.98 kB / 1.18 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3259, allocations: 0 / 1.18 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.3259, allocations: 3.953 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3259, allocations: 8.094 kB / 1.18 GB, free: 0.9727 MB / 0.92 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.0001199/0.3261, allocations: 189.1 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.3261, allocations: 108.9 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.3262, allocations: 124.7 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.745e-05/0.3263, allocations: 176.3 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.814e-05/0.3264, allocations: 184.2 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/0.3265, allocations: 184.3 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3268, allocations: 425.2 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-05/0.3269, allocations: 104.9 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3269, allocations: 105 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.327, allocations: 184.4 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.3271, allocations: 192.2 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.952e-05/0.3272, allocations: 180.2 kB / 1.182 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-05/0.3273, allocations: 180.3 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.3275, allocations: 311.7 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3276, allocations: 190 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3277, allocations: 184.1 kB / 1.183 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3278, allocations: 105 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3279, allocations: 184.3 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.328, allocations: 104.9 kB / 1.184 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001225/0.3281, allocations: 133.1 kB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3281, allocations: 0 / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002495/0.3284, allocations: 8 kB / 1.184 GB, free: 13.27 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.0001765/0.3286, allocations: 180.7 kB / 1.184 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.3287, allocations: 11.92 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3287, allocations: 0 / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3287, allocations: 0 / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.3292, allocations: 474.1 kB / 1.184 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.3296, allocations: 258.9 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.33, allocations: 0.6924 MB / 1.185 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.33, allocations: 7.438 kB / 1.185 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of SimCode: time 2.415e-06/0.33, allocations: 0 / 1.185 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.002386/0.3324, allocations: 0.824 MB / 1.186 GB, free: 10.77 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.126656729029492]