Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001722/0.001722, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00183/0.00183, allocations: 221.1 kB / 22.99 MB, free: 4.914 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [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.002132/0.002132, allocations: 76.44 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002813/0.348, allocations: 1.643 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3502, allocations: 1.282 MB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.3502, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.3506, allocations: 87.48 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3507, allocations: 75.58 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.3514, allocations: 283.2 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.3517, allocations: 187.1 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.3517, allocations: 9.688 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3518, allocations: 79.69 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.352, allocations: 79.66 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.352, allocations: 8 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.3526, allocations: 327.5 kB / 1.369 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.3526, allocations: 75.67 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.3527, allocations: 75.59 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.3533, allocations: 394.6 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3533, allocations: 4 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3533, allocations: 4 kB / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3533, allocations: 0 / 1.369 GB, free: 8.996 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008479/0.3541, allocations: 492.6 kB / 1.37 GB, free: 8.484 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3541, allocations: 8.031 kB / 1.37 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.3542, allocations: 28.73 kB / 1.37 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3546, allocations: 222.6 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.3548, allocations: 141.1 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3548, allocations: 384 / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.355, allocations: 97.77 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.355, allocations: 0 / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.355, allocations: 0 / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.355, allocations: 0 / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3553, allocations: 99.94 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.3555, allocations: 193.2 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.3569, allocations: 298.3 kB / 1.371 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3571, allocations: 60.83 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3572, allocations: 23.89 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3572, allocations: 30.56 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3572, allocations: 0 / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004935/0.3577, allocations: 221.3 kB / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3577, allocations: 55.41 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.358, allocations: 304.4 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3581, allocations: 25.7 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.3581, allocations: 124.5 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3582, allocations: 19.84 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.3583, allocations: 61.69 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3584, allocations: 330.8 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.3586, allocations: 159.9 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.3589, allocations: 155.9 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3593, allocations: 297.4 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3593, allocations: 0 / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005599/0.3598, allocations: 400.9 kB / 1.373 GB, free: 5.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3599, allocations: 15.88 kB / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3599, allocations: 0 / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3599, allocations: 0 / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.36, allocations: 15.98 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.36, allocations: 0 / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3601, allocations: 35.67 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3601, allocations: 8 kB / 1.373 GB, free: 4.945 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001164/0.3602, allocations: 130.9 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3603, allocations: 27.75 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3606, allocations: 167.6 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3607, allocations: 8 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3607, allocations: 0 / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3607, allocations: 4 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3608, allocations: 181.2 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3608, allocations: 0 / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3609, allocations: 15.98 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3609, allocations: 0 / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.361, allocations: 3.938 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.361, allocations: 0 / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.361, allocations: 0 / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.3613, allocations: 188.9 kB / 1.374 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3614, allocations: 31.8 kB / 1.374 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3614, allocations: 3.938 kB / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.3615, allocations: 4 kB / 1.374 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3615, allocations: 11.98 kB / 1.374 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3615, allocations: 0 / 1.374 GB, free: 4.117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001897/0.3617, allocations: 203 kB / 1.374 GB, free: 3.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3617, allocations: 0 / 1.374 GB, free: 3.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00037/0.3621, allocations: 115.8 kB / 1.374 GB, free: 3.809 MB / 1.061 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 (6): * Single equations (assignments): 6 * 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.0004771/0.3626, allocations: 266.7 kB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.3631, allocations: 315.2 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3631, allocations: 4 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3632, allocations: 55.97 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3635, allocations: 38.58 kB / 1.375 GB, free: 3.117 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.3641, allocations: 430.2 kB / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3642, allocations: 124 kB / 1.375 GB, free: 2.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3643, allocations: 15.44 kB / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3643, allocations: 0 / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of Templates: time 0.005556/0.3698, allocations: 3.281 MB / 1.378 GB, free: 15.25 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.857785748783499]