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.001046/0.001046, allocations: 89.06 kB / 19.65 MB, free: 276 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.001044/0.001044, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9991/0.9991, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.223/2.223, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.67e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.004917/0.004944, allocations: 0.8324 MB / 0.879 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.005056, allocations: 41.8 kB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.005105, allocations: 0 / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.00514, allocations: 11.86 kB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.005205, allocations: 9.688 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.701e-05/0.005252, allocations: 15.98 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.005348, allocations: 68.7 kB / 0.8791 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.005461, allocations: 31.97 kB / 0.8792 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.005527, allocations: 39.83 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.005567, allocations: 21.52 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.005584, allocations: 4 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.005593, allocations: 8 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.005611, allocations: 11.92 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.00564, allocations: 26.3 kB / 0.8793 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.085e-05/0.005731, allocations: 39.83 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005734, allocations: 0 / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005735, allocations: 7.938 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.005739, allocations: 0 / 0.8793 GB, free: 5.188 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003621/0.006101, allocations: 404.3 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006138, allocations: 14.19 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.006177, allocations: 16.89 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.006332, allocations: 136.4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.006341, allocations: 384 / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.006356, allocations: 12.38 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006474, allocations: 82.33 kB / 0.8799 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006483, allocations: 192 / 0.8799 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006495, allocations: 10.02 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.006503, allocations: 4.312 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.006552, allocations: 27.92 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.006955, allocations: 458.3 kB / 0.8804 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.01002, allocations: 63.47 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.01005, allocations: 19.5 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.01006, allocations: 8 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.01009, allocations: 33.39 kB / 0.8805 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.01009, allocations: 3.938 kB / 0.8805 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.01024, allocations: 45.69 kB / 0.8806 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.01028, allocations: 81.05 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.0104, allocations: 189.8 kB / 0.8808 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01041, allocations: 25.7 kB / 0.8809 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.01048, allocations: 154.7 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.01049, allocations: 11.89 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.01052, allocations: 23.62 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01067, allocations: 0.4923 MB / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.01068, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.0107, allocations: 19.38 kB / 0.8816 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.01074, allocations: 27.38 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01074, allocations: 0 / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.628e-05/0.01082, allocations: 57.67 kB / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01084, allocations: 6.5 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01084, allocations: 11.98 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01086, allocations: 4 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.01092, allocations: 8 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01092, allocations: 7.875 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.01094, allocations: 4 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.01095, allocations: 0 / 0.8817 GB, free: 2.516 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.751e-05/0.01102, allocations: 160.6 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01105, allocations: 7.953 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.01108, allocations: 7.469 kB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01108, allocations: 0 / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01108, allocations: 4 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01109, allocations: 3.938 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.01142, allocations: 0.5461 MB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01143, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.01144, allocations: 4 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01144, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.01145, allocations: 3.938 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01145, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01145, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.968e-05/0.01152, allocations: 92.02 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01154, allocations: 12.05 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01155, allocations: 3.938 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.01157, allocations: 4 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.01158, allocations: 3.984 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.01158, allocations: 0 / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.01164, allocations: 143.2 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01164, allocations: 0 / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001964/0.01183, allocations: 15.94 kB / 0.8827 GB, free: 1.422 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 8.423e-05/0.01192, allocations: 91.25 kB / 0.8827 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.01199, allocations: 31.61 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01199, allocations: 0 / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.012, allocations: 11.69 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.01215, allocations: 4 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.01242, allocations: 166.7 kB / 0.8829 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.01246, allocations: 60.38 kB / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.01248, allocations: 8.234 kB / 0.883 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.0125, allocations: 16.44 kB / 0.883 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.0125, allocations: 3.938 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of Templates: time 0.005213/0.01772, allocations: 347.2 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] 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","",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.633401356171817]