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.001911/0.001911, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002416/0.002416, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 68.89 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3499, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003194/0.3531, allocations: 1.548 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.3532, allocations: 31.84 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.3533, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.3534, allocations: 11.86 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.3535, allocations: 3.938 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.3536, allocations: 19.97 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3537, allocations: 43.91 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3539, allocations: 31.84 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.3539, allocations: 19.92 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.354, allocations: 35.91 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3541, allocations: 7.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3541, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.3541, allocations: 15.92 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.3542, allocations: 19.88 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3543, allocations: 59.73 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3543, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3543, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3543, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 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.0004666/0.3548, allocations: 286.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3548, allocations: 12.03 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3549, allocations: 8.891 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3551, allocations: 126.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3551, allocations: 8.375 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3551, allocations: 4.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3553, allocations: 100.8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3553, allocations: 192 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3553, allocations: 3.938 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3553, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.3554, allocations: 43.91 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.356, allocations: 0.5696 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3561, allocations: 173.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.3562, allocations: 80.14 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.3562, allocations: 75.28 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.3563, allocations: 105.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3563, allocations: 3.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.649e-05/0.3564, allocations: 33.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3564, allocations: 55.34 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3565, allocations: 133.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3566, allocations: 29.7 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.3566, allocations: 111.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.3566, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3567, allocations: 17.72 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3568, allocations: 310.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.3568, allocations: 11.94 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.3569, allocations: 22.56 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.3569, allocations: 22.61 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3569, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001252/0.357, allocations: 57.62 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.357, allocations: 8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.357, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3571, allocations: 3.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.3571, allocations: 8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3571, allocations: 3.938 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.3572, allocations: 11.94 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3572, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 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.0001196/0.3573, allocations: 197.6 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.3574, allocations: 113 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.3574, allocations: 112.4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.04e-05/0.3575, allocations: 176.3 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.3576, allocations: 112.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.3576, allocations: 105 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.3577, allocations: 180.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.3578, allocations: 108.9 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3579, allocations: 176.3 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001214/0.358, allocations: 263.5 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002145/0.3582, allocations: 383.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.505e-05/0.3583, allocations: 108.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.3584, allocations: 103.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of Backend: time 2.51e-07/0.3584, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.3587, allocations: 89.73 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007064/0.3594, allocations: 0.9025 MB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of Templates: time 0.002682/0.3621, allocations: 397 kB / 1.335 GB, free: 8.875 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.813003062998177]