Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001338/0.001338, 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.001492/0.001492, allocations: 219.9 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.328/3.328, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [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.002069/0.002069, allocations: 67.77 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3767, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002018/0.3788, allocations: 0.8418 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.3789, allocations: 43.78 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.3789, allocations: 4 kB / 1.355 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.379, allocations: 11.86 kB / 1.355 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.379, allocations: 7.875 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.703e-05/0.3791, allocations: 19.98 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3792, allocations: 63.84 kB / 1.355 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3793, allocations: 27.97 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.3794, allocations: 23.88 kB / 1.355 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.3795, allocations: 35.78 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3795, allocations: 4 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3795, allocations: 8 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.3795, allocations: 15.92 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3796, allocations: 39.73 kB / 1.355 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3797, allocations: 67.59 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3797, allocations: 4 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3797, allocations: 4 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3797, 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.0004821/0.3802, allocations: 310 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3802, allocations: 8.031 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3802, allocations: 12.83 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3805, allocations: 142.4 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3805, allocations: 4.375 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3805, allocations: 8.375 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3807, allocations: 101 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3807, allocations: 192 / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3807, allocations: 3.938 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3807, allocations: 4 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.005e-05/0.3808, allocations: 39.97 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.3814, allocations: 399.8 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.3815, allocations: 37.16 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.522e-05/0.3815, allocations: 21.83 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.3815, allocations: 8.031 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3815, allocations: 34.5 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3815, allocations: 4 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.3817, allocations: 57.53 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3818, allocations: 77.11 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.382, allocations: 160.9 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.382, allocations: 25.7 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.3821, allocations: 104 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.3821, allocations: 3.953 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3821, allocations: 21.97 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3823, allocations: 326.8 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.3823, allocations: 4 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.3823, allocations: 21.7 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.3824, allocations: 29.66 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3824, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.308e-05/0.3824, allocations: 53.66 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3825, allocations: 11.98 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3825, allocations: 3.938 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3825, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.3825, allocations: 11.94 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3825, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.3826, allocations: 3.953 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3826, allocations: 4 kB / 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 9.286e-05/0.3827, allocations: 118.5 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3827, allocations: 11.95 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.3827, allocations: 15.73 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3828, allocations: 4 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3828, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3828, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3832, allocations: 453.7 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3832, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.3832, allocations: 8.062 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3832, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3832, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3832, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3832, allocations: 4 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.3833, allocations: 81.81 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.3833, allocations: 20.08 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3834, allocations: 3.984 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.3834, allocations: 3.984 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.3834, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.3834, allocations: 4 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.3835, allocations: 124.8 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3835, allocations: 0 / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001855/0.3837, allocations: 4 kB / 1.358 GB, free: 3.555 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.0001161/0.3838, allocations: 99.25 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.3839, allocations: 19.88 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3839, allocations: 0 / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.3839, allocations: 8 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.3841, allocations: 17.8 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.3844, allocations: 180.5 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3847, allocations: 0.6926 MB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.3848, allocations: 15.38 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3848, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of Templates: time 0.002546/0.3873, allocations: 0.8682 MB / 1.36 GB, free: 1.582 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.223563039005967]