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.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.001805/0.001805, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001916/0.001916, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.43/1.43, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.003002/0.003002, allocations: 64.14 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8116, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002436/0.814, allocations: 1.571 MB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.8141, allocations: 27.64 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.8142, allocations: 5.562 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.8143, allocations: 11.94 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.8143, allocations: 5.406 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.761e-05/0.8144, allocations: 17.97 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.8145, allocations: 50.67 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8146, allocations: 25.06 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.8147, allocations: 21.06 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.8147, allocations: 28.95 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.8148, allocations: 4.656 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.8148, allocations: 4.094 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.8148, allocations: 18.5 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.8148, allocations: 31.47 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.8149, allocations: 60.98 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8149, allocations: 0.8438 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8149, allocations: 0 / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.815, allocations: 1.031 kB / 1.274 GB, free: 6.691 MB / 0.9981 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.0003037/0.8153, allocations: 367 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.8153, allocations: 9.453 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.8153, allocations: 9.266 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.8154, allocations: 186.7 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8155, allocations: 11.06 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.8155, allocations: 4.469 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.8156, allocations: 101.4 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8156, allocations: 192 / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8156, allocations: 9.031 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8156, allocations: 5.938 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.8157, allocations: 39.95 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.8161, allocations: 0.6379 MB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.8162, allocations: 170.7 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.8162, allocations: 89.02 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.8162, allocations: 75.28 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.8162, allocations: 112.7 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.8162, allocations: 0 / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.075e-05/0.8163, allocations: 37.53 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.8163, allocations: 131.7 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.8164, allocations: 169.2 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/0.8164, allocations: 29.7 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.8165, allocations: 105.1 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.8165, allocations: 0 / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.8165, allocations: 12.25 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/0.8165, allocations: 320.1 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.8166, allocations: 6.125 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.8166, allocations: 20.84 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.8166, allocations: 36.55 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8166, allocations: 0 / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000104/0.8167, allocations: 56.66 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8167, allocations: 5.188 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.8167, allocations: 0.8125 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8167, allocations: 10.95 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.8168, allocations: 4.875 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8168, allocations: 0.875 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.8168, allocations: 10.95 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.8168, allocations: 0.9688 kB / 1.276 GB, free: 4.008 MB / 0.9981 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 4.854e-05/0.8169, allocations: 193.1 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.8169, allocations: 113.1 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.817, allocations: 119.3 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.817, allocations: 181.1 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.817, allocations: 182.9 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.817, allocations: 185.3 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.8171, allocations: 429.9 kB / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8172, allocations: 106 kB / 1.278 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.8172, allocations: 106.1 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.8172, allocations: 183.7 kB / 1.278 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.8172, allocations: 181.1 kB / 1.278 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001248/0.8173, allocations: 181.2 kB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.068e-05/0.8174, allocations: 178.4 kB / 1.279 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.8176, allocations: 315.6 kB / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.8177, allocations: 187.5 kB / 1.279 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.8178, allocations: 195 kB / 1.279 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8179, allocations: 102 kB / 1.279 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.818, allocations: 181.2 kB / 1.28 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.818, allocations: 111.9 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001047/0.8181, allocations: 127.5 kB / 1.28 GB, free: 16.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8181, allocations: 1.281 kB / 1.28 GB, free: 16.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002259/0.8183, allocations: 5.625 kB / 1.28 GB, free: 16.41 MB / 1.014 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.0001377/0.8185, allocations: 177.3 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.8185, allocations: 14.12 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8185, allocations: 4.781 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.8185, allocations: 2.484 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.8189, allocations: 468.1 kB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.8193, allocations: 233.9 kB / 1.281 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.8196, allocations: 0.694 MB / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.8196, allocations: 6.531 kB / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.8196, allocations: 10.09 kB / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.8196, allocations: 0 / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of Templates: time 0.002537/0.8222, allocations: 447.7 kB / 1.282 GB, free: 14.79 MB / 1.014 GB " [Timeout remaining time 299] 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: 8.312008947134018]