Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001292/0.001292, allocations: 102.1 kB / 19.7 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.001499/0.001499, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.357/3.357, 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [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.002109/0.002109, allocations: 70.75 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002255/0.3618, allocations: 0.8257 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.3619, allocations: 43.78 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.362, allocations: 4 kB / 1.355 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.362, allocations: 7.875 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.3621, allocations: 11.86 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.3621, allocations: 19.98 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3623, allocations: 55.84 kB / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3624, allocations: 27.98 kB / 1.355 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.3625, allocations: 31.84 kB / 1.355 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.3625, allocations: 27.86 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3625, allocations: 8 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.3626, allocations: 4 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3626, allocations: 19.92 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.3626, allocations: 39.62 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.3628, allocations: 79.56 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3628, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3628, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3628, allocations: 0 / 1.355 GB, free: 6.723 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.0004558/0.3632, allocations: 306 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3633, allocations: 12.03 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3633, allocations: 12.89 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3635, allocations: 138.3 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3635, allocations: 8.359 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3635, allocations: 8.375 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3637, allocations: 97.42 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3637, allocations: 192 / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3637, allocations: 3.938 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3637, allocations: 4 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.793e-05/0.3638, allocations: 39.92 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.3644, allocations: 399.7 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.3644, allocations: 41.28 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.3645, allocations: 17.84 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.3645, allocations: 0 / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3645, allocations: 38.56 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3645, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3647, allocations: 57.52 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3647, allocations: 81.36 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3649, allocations: 165 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3649, allocations: 25.7 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.365, allocations: 112 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.365, allocations: 3.953 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.3651, allocations: 17.72 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3652, allocations: 318.8 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.3652, allocations: 4 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.3652, allocations: 25.66 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.3653, allocations: 25.72 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3653, allocations: 0 / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.225e-05/0.3654, allocations: 65.58 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3654, allocations: 4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3654, allocations: 3.938 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3654, allocations: 4.062 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.3655, allocations: 8 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3655, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.3655, allocations: 11.89 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3655, allocations: 0 / 1.357 GB, free: 4.484 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 0.0001092/0.3656, allocations: 126.4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.3657, allocations: 7.953 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.3657, allocations: 15.75 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3657, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3657, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3657, allocations: 4 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.3661, allocations: 449.7 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3661, allocations: 4 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.3661, allocations: 3.984 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3661, allocations: 4 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3661, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3662, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3662, allocations: 4.062 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.3662, allocations: 73.89 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.3663, allocations: 15.94 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3663, allocations: 0 / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.3663, allocations: 4 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3663, allocations: 3.938 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.3663, allocations: 4.031 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.555e-05/0.3664, 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.3664, allocations: 0 / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001903/0.3666, allocations: 8 kB / 1.358 GB, free: 3.562 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.0001108/0.3667, allocations: 93.08 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.3668, allocations: 19.98 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3668, allocations: 0 / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.3668, allocations: 20 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.0001553/0.367, allocations: 13.48 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.0003492/0.3673, allocations: 180.5 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3677, allocations: 0.6924 MB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3677, allocations: 11.44 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3677, allocations: 4.125 kB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of Templates: time 0.002632/0.3703, allocations: 0.8644 MB / 1.36 GB, free: 1.594 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.38114452100126]