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.001491/0.001491, allocations: 92.22 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.001674/0.001674, allocations: 173 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.9514/0.9514, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.116/2.116, 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 2.495e-06/2.495e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.708e-05/4.957e-05, allocations: 9.281 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.002148/0.002198, allocations: 0.8201 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.002342, allocations: 43.78 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.002392, allocations: 0.9062 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.546e-05/0.002437, allocations: 11.86 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.00252, allocations: 8.406 kB / 0.8791 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.073e-05/0.002581, allocations: 19.98 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.002701, allocations: 65.03 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.002852, allocations: 39.89 kB / 0.8792 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.002962, allocations: 35.91 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.003021, allocations: 17.03 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.003048, allocations: 4 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.003058, allocations: 8 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.00308, allocations: 9 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.003119, allocations: 27.91 kB / 0.8793 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003249, allocations: 39.78 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.003252, allocations: 1.344 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.615e-06/0.003255, allocations: 0 / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.003261, allocations: 0 / 0.8793 GB, free: 5.199 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.000532/0.003794, allocations: 401.4 kB / 0.8797 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.003859, allocations: 12.03 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.003921, allocations: 16.89 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.004112, allocations: 141.6 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.004128, allocations: 8.375 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.004143, allocations: 12.25 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.00434, allocations: 86.12 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.004354, allocations: 1.062 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.004371, allocations: 8.375 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.004383, allocations: 384 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.478e-05/0.004438, allocations: 31.3 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.005118, allocations: 0.7414 MB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.005242, allocations: 265.4 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.005291, allocations: 126.9 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.005332, allocations: 123.2 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.005393, allocations: 152.6 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.005395, allocations: 0 / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.69e-05/0.005471, allocations: 41.69 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.005563, allocations: 179.1 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.005708, allocations: 205.7 kB / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.005717, allocations: 25.7 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.005802, allocations: 174.5 kB / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.005808, allocations: 3.984 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.00584, allocations: 27.38 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.005964, allocations: 0.4884 MB / 0.8825 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.005979, allocations: 7.984 kB / 0.8825 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.006024, allocations: 73.5 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.006095, allocations: 93.36 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006097, allocations: 0 / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001356/0.006232, allocations: 85.45 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006246, allocations: 4 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.006253, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.006268, allocations: 4 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.006326, allocations: 19.92 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.006333, allocations: 4.188 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.006361, allocations: 15.89 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.006367, allocations: 8 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001075/0.006474, allocations: 275.8 kB / 0.883 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.006531, allocations: 156.8 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.006583, allocations: 160.7 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/0.006646, allocations: 264.1 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.214e-05/0.006708, allocations: 275.9 kB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/0.006782, allocations: 272.1 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.006968, allocations: 0.5115 MB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/0.007002, allocations: 148.9 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.007037, allocations: 152.8 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.0071, allocations: 264.1 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.007169, allocations: 272.1 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.058e-05/0.007239, allocations: 268 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-05/0.007308, allocations: 264.1 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.007468, allocations: 459.8 kB / 0.8864 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.007526, allocations: 152.8 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.007605, allocations: 272 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.00767, allocations: 144.9 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.007753, allocations: 272.3 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.007801, allocations: 164.8 kB / 0.8873 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.00787, allocations: 141.1 kB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.00787, allocations: 0 / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001592/0.00803, allocations: 11.94 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000126/0.008156, allocations: 210.4 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.008251, allocations: 35.64 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008253, allocations: 3.938 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.008254, allocations: 4.5 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.008571, allocations: 0.7101 MB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.008846, allocations: 269.7 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.008882, allocations: 63.28 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.008912, allocations: 8.719 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.008931, allocations: 8.5 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.008932, allocations: 4 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002003/0.01094, allocations: 319.9 kB / 0.889 GB, free: 10.67 MB / 0.8542 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.3702403251081705]