Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.00168/0.00168, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001825/0.001825, allocations: 215.1 kB / 23.01 MB, free: 4.609 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.265/3.265, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [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.00228/0.00228, allocations: 65.17 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3491, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002289/0.3514, allocations: 0.8357 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.3515, allocations: 39.78 kB / 1.355 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.3516, allocations: 4 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.3516, allocations: 7.938 kB / 1.355 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.3517, allocations: 15.86 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.866e-05/0.3518, allocations: 15.98 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3519, allocations: 63.77 kB / 1.355 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.352, allocations: 31.98 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.3521, allocations: 27.86 kB / 1.355 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.3522, allocations: 27.86 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.3522, allocations: 4 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.3522, allocations: 8 kB / 1.355 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.3522, allocations: 15.92 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.3523, allocations: 35.75 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3524, allocations: 83.5 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3524, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3524, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3524, allocations: 4 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000448/0.3529, allocations: 301.9 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3529, allocations: 12.03 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3529, allocations: 8.891 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3531, allocations: 142.3 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3532, allocations: 4.375 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3532, allocations: 8.375 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3533, allocations: 95.84 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3534, allocations: 192 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3534, allocations: 7.938 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3534, allocations: 4 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.3535, allocations: 39.91 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.3541, allocations: 403.7 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.223e-05/0.3542, allocations: 41.27 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.3542, allocations: 21.84 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.3542, allocations: 4 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3542, allocations: 30.56 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3542, allocations: 0 / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.3544, allocations: 57.53 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.3545, allocations: 81.09 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3546, allocations: 157.2 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3547, allocations: 29.7 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.3547, allocations: 104 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.3548, allocations: 11.89 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3548, allocations: 17.7 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3549, allocations: 318.8 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.355, allocations: 11.92 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.355, allocations: 17.72 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.355, allocations: 29.72 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.355, allocations: 0 / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.661e-05/0.3551, allocations: 57.58 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3551, allocations: 8 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3552, allocations: 7.922 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3552, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.3553, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3553, allocations: 4 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.3553, allocations: 12.02 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3553, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.681e-05/0.3554, allocations: 114.4 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3554, allocations: 11.94 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.3554, allocations: 11.75 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3555, allocations: 3.938 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3555, allocations: 4 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3555, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.3559, allocations: 453.7 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3559, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.3559, allocations: 7.938 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3559, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3559, allocations: 4 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3559, allocations: 3.984 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3559, allocations: 4 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.948e-05/0.356, allocations: 77.95 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3561, allocations: 15.94 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3561, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.3561, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.3561, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3561, allocations: 4 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.763e-05/0.3562, allocations: 120.9 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 3.938 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001982/0.3564, allocations: 15.94 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001088/0.3565, allocations: 95.25 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.3566, allocations: 15.98 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3566, allocations: 0 / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.3566, allocations: 7.938 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3568, allocations: 17.11 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3571, allocations: 184.5 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.3575, allocations: 0.6963 MB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.3575, allocations: 11.44 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3575, allocations: 0 / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of Templates: time 0.002445/0.36, allocations: 0.8695 MB / 1.36 GB, free: 1.586 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.304195964999963]