Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001307/0.001307, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001514/0.001514, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.23/3.23, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002099/0.002099, allocations: 67.56 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002203/0.3709, allocations: 0.8335 MB / 1.355 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.371, allocations: 39.78 kB / 1.355 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.371, allocations: 4 kB / 1.355 GB, free: 7.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.3711, allocations: 11.86 kB / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/0.3712, allocations: 15.88 kB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.293e-05/0.3712, allocations: 15.98 kB / 1.355 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3714, allocations: 63.84 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3715, allocations: 27.97 kB / 1.355 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.3716, allocations: 27.86 kB / 1.355 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.3716, allocations: 31.84 kB / 1.355 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3717, allocations: 4 kB / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3717, allocations: 8 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3717, allocations: 15.88 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.3717, allocations: 35.73 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3719, allocations: 79.58 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3719, allocations: 0 / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3719, allocations: 0 / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3719, allocations: 4 kB / 1.355 GB, free: 6.785 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.000457/0.3723, allocations: 302 kB / 1.356 GB, free: 6.457 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3724, allocations: 12.03 kB / 1.356 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3724, allocations: 8.891 kB / 1.356 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3726, allocations: 138.3 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3726, allocations: 8.375 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3727, allocations: 12.38 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3728, allocations: 89.89 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3728, allocations: 4.125 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3729, allocations: 7.938 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3729, allocations: 7.938 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.3729, allocations: 39.97 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.3735, allocations: 403.7 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.3736, allocations: 37.28 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.3736, allocations: 21.84 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.3736, allocations: 0 / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3736, allocations: 34.56 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3736, allocations: 3.938 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.3738, allocations: 57.58 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3739, allocations: 85.05 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.374, allocations: 156.9 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.374, allocations: 25.7 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.3741, allocations: 108.3 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.3741, allocations: 7.953 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.3742, allocations: 17.72 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3743, allocations: 322.8 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.3743, allocations: 0 / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.3743, allocations: 21.72 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.3744, allocations: 33.64 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3744, allocations: 0 / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.527e-05/0.3745, allocations: 57.59 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3745, allocations: 8 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3745, allocations: 3.938 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3745, allocations: 4 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.3746, allocations: 7.984 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3746, allocations: 7.984 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.3746, allocations: 3.953 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3746, allocations: 4 kB / 1.357 GB, free: 4.543 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.889e-05/0.3747, allocations: 121.8 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.3748, allocations: 7.953 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.3748, allocations: 15.75 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3748, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.3748, allocations: 7.984 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3748, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.3752, allocations: 449.7 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3752, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.3752, allocations: 4 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3752, allocations: 0 / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3752, allocations: 3.938 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3752, allocations: 0 / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3752, allocations: 4 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.3753, allocations: 85.94 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.3754, allocations: 11.89 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3754, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.3754, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.3754, allocations: 0 / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3754, allocations: 7.984 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.265e-05/0.3755, allocations: 116.9 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 4 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001851/0.3757, allocations: 4 kB / 1.358 GB, free: 3.625 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.0001163/0.3758, allocations: 103.3 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.3759, allocations: 15.94 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3759, allocations: 0 / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-06/0.3759, allocations: 4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3761, allocations: 19.81 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3764, allocations: 192.7 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3768, allocations: 0.6885 MB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.3768, allocations: 11.44 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3768, allocations: 0 / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of Templates: time 0.002543/0.3793, allocations: 0.8761 MB / 1.36 GB, free: 1.645 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.39704581600381]