Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001869/0.001869, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002114/0.002114, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.432/3.432, allocations: 429.4 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.8774 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.11e-05/4.443e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003114/0.003158, allocations: 0.8641 MB / 0.8783 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.003364, allocations: 49.09 kB / 0.8783 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.003435, allocations: 4 kB / 0.8783 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.00349, allocations: 15.8 kB / 0.8784 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003602, allocations: 12.45 kB / 0.8784 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.558e-05/0.003688, allocations: 23.97 kB / 0.8784 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.00386, allocations: 76.66 kB / 0.8785 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.004036, allocations: 49.14 kB / 0.8785 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.004176, allocations: 45 kB / 0.8786 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.004258, allocations: 31.83 kB / 0.8786 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.004289, allocations: 8 kB / 0.8786 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.004307, allocations: 8.938 kB / 0.8786 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.00434, allocations: 15.92 kB / 0.8786 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.004393, allocations: 25.02 kB / 0.8786 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004588, allocations: 91.66 kB / 0.8787 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.004594, allocations: 4 kB / 0.8787 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004594, allocations: 0.6562 kB / 0.8787 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004599, allocations: 0 / 0.8787 GB, free: 5.215 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007073/0.005306, allocations: 433.8 kB / 0.8792 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.005356, allocations: 16.02 kB / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.005423, allocations: 16.89 kB / 0.8792 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.005712, allocations: 148.6 kB / 0.8793 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.005729, allocations: 8.156 kB / 0.8793 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.005753, allocations: 12.38 kB / 0.8793 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.00616, allocations: 121.8 kB / 0.8795 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006171, allocations: 0 / 0.8795 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.006185, allocations: 0 / 0.8795 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.006196, allocations: 4 kB / 0.8795 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.006335, allocations: 39.98 kB / 0.8795 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.007205, allocations: 0.4942 MB / 0.88 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.007317, allocations: 54.19 kB / 0.88 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.00738, allocations: 24.36 kB / 0.8801 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.007396, allocations: 5.031 kB / 0.8801 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.007445, allocations: 41.33 kB / 0.8801 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.007447, allocations: 0 / 0.8801 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.007702, allocations: 50.77 kB / 0.8802 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.007784, allocations: 78.14 kB / 0.8802 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.008056, allocations: 212.2 kB / 0.8804 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.008079, allocations: 25.7 kB / 0.8805 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.008234, allocations: 167.9 kB / 0.8806 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.008245, allocations: 3.953 kB / 0.8806 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.008307, allocations: 27.36 kB / 0.8806 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003336/0.008641, allocations: 0.4919 MB / 0.8811 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.008672, allocations: 8 kB / 0.8811 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.008719, allocations: 23.36 kB / 0.8812 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.008799, allocations: 39.25 kB / 0.8812 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008801, allocations: 0 / 0.8812 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001435/0.008945, allocations: 53.75 kB / 0.8812 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.008962, allocations: 4 kB / 0.8812 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.008975, allocations: 8.594 kB / 0.8813 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008991, allocations: 0.5938 kB / 0.8813 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.009067, allocations: 11.94 kB / 0.8813 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.009073, allocations: 0.75 kB / 0.8813 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.009108, allocations: 0 / 0.8813 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.009119, allocations: 8.906 kB / 0.8813 GB, free: 2.371 MB / 0.8386 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.0001618/0.009281, allocations: 164.5 kB / 0.8814 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.009355, allocations: 9.484 kB / 0.8814 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.009392, allocations: 7.797 kB / 0.8815 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009395, allocations: 4 kB / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.009399, allocations: 224 / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009402, allocations: 0.9375 kB / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.01015, allocations: 0.5701 MB / 0.882 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01015, allocations: 0 / 0.882 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.01018, allocations: 8.375 kB / 0.882 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01018, allocations: 4 kB / 0.882 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01019, allocations: 0 / 0.882 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01019, allocations: 4 kB / 0.882 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0102, allocations: 0 / 0.882 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.01035, allocations: 95.95 kB / 0.8821 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.01038, allocations: 7.953 kB / 0.8821 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.0104, allocations: 4 kB / 0.8821 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.01043, allocations: 4 kB / 0.8821 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.01046, allocations: 3.984 kB / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.01046, allocations: 0 / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001801/0.01064, allocations: 161.6 kB / 0.8823 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01064, allocations: 4 kB / 0.8823 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003549/0.01099, allocations: 15.89 kB / 0.8823 GB, free: 1.223 MB / 0.8386 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.000157/0.01115, allocations: 91.25 kB / 0.8824 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.0113, allocations: 31.61 kB / 0.8824 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0113, allocations: 0 / 0.8824 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.01133, allocations: 11.69 kB / 0.8824 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01158, allocations: 8 kB / 0.8824 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.01212, allocations: 198.6 kB / 0.8826 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.01225, allocations: 84.25 kB / 0.8827 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.01228, allocations: 4 kB / 0.8827 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.01231, allocations: 12.5 kB / 0.8827 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.01231, allocations: 0 / 0.8827 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of Templates: time 0.004789/0.0171, allocations: 360 kB / 0.8831 GB, free: 380 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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: 8.585671658045612]