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.001409/0.001409, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001846/0.001846, allocations: 173 kB / 23.49 MB, free: 1.059 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.9561/0.9561, allocations: 177.1 MB / 203.8 MB, free: 5.609 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 2.152/2.152, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.274e-05, allocations: 3.594 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001675/0.001708, allocations: 0.8684 MB / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.001836, allocations: 59.7 kB / 0.8791 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.001886, allocations: 1.094 kB / 0.8791 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.001922, allocations: 7.875 kB / 0.8791 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.001999, allocations: 23.8 kB / 0.8791 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.471e-05/0.002053, allocations: 21.05 kB / 0.8791 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.002154, allocations: 79.77 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.002283, allocations: 34.41 kB / 0.8793 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.002359, allocations: 55.81 kB / 0.8793 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.002404, allocations: 19.91 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.002426, allocations: 9 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.002434, allocations: 8 kB / 0.8793 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.002474, allocations: 15.94 kB / 0.8794 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.002505, allocations: 28.53 kB / 0.8794 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.002614, allocations: 63.62 kB / 0.8794 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.002619, allocations: 0.5938 kB / 0.8795 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/0.002621, allocations: 0.625 kB / 0.8795 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.002625, allocations: 0 / 0.8795 GB, free: 5.375 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.0003862/0.003012, allocations: 429.4 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.003062, allocations: 8.031 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.003122, allocations: 21.59 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.003295, allocations: 148.7 kB / 0.88 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003306, allocations: 9.719 kB / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.003323, allocations: 12.36 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003454, allocations: 104.3 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003461, allocations: 1.531 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003472, allocations: 0 / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.00348, allocations: 4 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.003532, allocations: 31.91 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.004068, allocations: 483 kB / 0.8806 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.005e-05/0.004128, allocations: 50.19 kB / 0.8807 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.004161, allocations: 24.28 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.00417, allocations: 3.688 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.004195, allocations: 37.39 kB / 0.8808 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.004196, allocations: 0 / 0.8808 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.004356, allocations: 49.58 kB / 0.8808 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.004396, allocations: 77.11 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.004524, allocations: 196.1 kB / 0.8811 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004535, allocations: 25.7 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.004614, allocations: 170.8 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.004622, allocations: 4.578 kB / 0.8813 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.004653, allocations: 23.38 kB / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.004777, allocations: 0.4886 MB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.004794, allocations: 8 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.004822, allocations: 19.59 kB / 0.8818 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.004862, allocations: 35.25 kB / 0.8818 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004864, allocations: 3.938 kB / 0.8818 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.813e-05/0.004932, allocations: 57.58 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.004947, allocations: 4 kB / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004953, allocations: 0 / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.505e-05/0.005048, allocations: 8.062 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.005105, allocations: 8 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.00511, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.005125, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.00513, allocations: 4 kB / 0.8819 GB, free: 2.621 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 6.92e-05/0.005199, allocations: 160.5 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.005222, allocations: 7.953 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.005252, allocations: 11.81 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005254, allocations: 0 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005258, allocations: 0 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005261, allocations: 0 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.00554, allocations: 0.5616 MB / 0.8826 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005541, allocations: 0 / 0.8826 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.005555, allocations: 7.984 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.005557, allocations: 0 / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.005565, allocations: 4 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.005568, allocations: 3.938 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.005569, allocations: 0 / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.112e-05/0.00563, allocations: 88.03 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.005651, allocations: 11.94 kB / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005662, allocations: 4.094 kB / 0.8827 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.00567, allocations: 4 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.005685, allocations: 4 kB / 0.8827 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.005687, allocations: 0 / 0.8827 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.005747, allocations: 153.4 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.3e-07/0.005748, allocations: 0 / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001304/0.005878, allocations: 11.95 kB / 0.8829 GB, free: 1.504 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.00012/0.005998, allocations: 95.19 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.006092, allocations: 27.75 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.006094, allocations: 4.062 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.006105, allocations: 15.61 kB / 0.883 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.006231, allocations: 12.97 kB / 0.883 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.006534, allocations: 182.5 kB / 0.8832 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.006569, allocations: 67.19 kB / 0.8833 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.006595, allocations: 4 kB / 0.8833 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.00662, allocations: 16.62 kB / 0.8833 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/0.006621, allocations: 0 / 0.8833 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of Templates: time 0.002009/0.00863, allocations: 348.1 kB / 0.8836 GB, free: 0.6797 MB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.49936096300371]