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.0008376/0.0008376, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008401/0.0008401, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8726/0.8726, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.711e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002075/0.002102, allocations: 0.7907 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001434/0.002246, allocations: 43.78 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.002305, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.00235, allocations: 11.86 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.002441, allocations: 7.938 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.892e-05/0.00249, allocations: 15.98 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.002615, allocations: 71.77 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.00276, allocations: 31.91 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.002845, allocations: 35.91 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.002909, allocations: 23.91 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.00294, allocations: 4 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.002952, allocations: 8 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.002972, allocations: 11.92 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.003008, allocations: 23.92 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003136, allocations: 75.69 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003139, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003139, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003144, allocations: 4 kB / 1.002 GB, free: 11.87 MB / 0.9636 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.0004335/0.003578, allocations: 302 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.003623, allocations: 8.75 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.003661, allocations: 8.891 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.003863, allocations: 141.6 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003875, allocations: 4.375 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.003888, allocations: 8.375 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.004041, allocations: 93.52 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.004052, allocations: 192 / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.004067, allocations: 8.375 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.004077, allocations: 4.375 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.004165, allocations: 43.86 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.004719, allocations: 352.5 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.00479, allocations: 33.16 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.004832, allocations: 25.88 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.00484, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.00487, allocations: 34.55 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004871, allocations: 0 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/0.005077, allocations: 53.59 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.00513, allocations: 85.11 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.005248, allocations: 132.3 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.005261, allocations: 29.64 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.005331, allocations: 111.9 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.00534, allocations: 3.953 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.005379, allocations: 13.72 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005484, allocations: 322.8 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.005508, allocations: 8 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.005534, allocations: 13.97 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.005578, allocations: 33.66 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005581, allocations: 0 / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.746e-05/0.005669, allocations: 57.58 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.005686, allocations: 8 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005691, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.005704, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.005768, allocations: 4 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.005775, allocations: 7.938 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.005799, allocations: 11.98 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005804, allocations: 0 / 1.004 GB, free: 9.734 MB / 0.9636 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 7.499e-05/0.005879, allocations: 113.8 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.005919, allocations: 7.953 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.005948, allocations: 15.41 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.005951, allocations: 0 / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.005956, allocations: 0 / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.00596, allocations: 4.031 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.006316, allocations: 414.5 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.00632, allocations: 4.062 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.006341, allocations: 8 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.006344, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.006352, allocations: 3.938 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.006355, allocations: 4 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.006359, allocations: 3.984 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.171e-05/0.006441, allocations: 74.67 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.006464, allocations: 8 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006479, allocations: 7.922 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.006497, allocations: 4 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.006511, allocations: 4.031 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.006514, allocations: 4 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.006575, allocations: 95.27 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.006575, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002063/0.006782, allocations: 11.95 kB / 1.005 GB, free: 8.883 MB / 0.9636 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 9.469e-05/0.006876, allocations: 95.25 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.006971, allocations: 23.92 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006973, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.006985, allocations: 8.125 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.007139, allocations: 4.062 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.007478, allocations: 196.2 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.00754, allocations: 79.31 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.007567, allocations: 8.5 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.007568, allocations: 0 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of Templates: time 0.002104/0.009672, allocations: 0.8083 MB / 1.006 GB, free: 7.598 MB / 0.9636 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/jenkins/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: 6.348562077619135]