Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00145/0.00145, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00132/0.00132, allocations: 177 kB / 23.36 MB, free: 1.133 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.9936/0.9936, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.578/2.578, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.762e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001425/0.001443, allocations: 0.8636 MB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.001569, allocations: 51.72 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.001613, allocations: 0 / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.001648, allocations: 11.86 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.001722, allocations: 7.875 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.762e-05/0.00176, allocations: 15.98 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.001847, allocations: 67.83 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.001943, allocations: 31.95 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.002034, allocations: 51.77 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.002069, allocations: 15.92 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002084, allocations: 8 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-06/0.00209, allocations: 4 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.002107, allocations: 11.92 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.002129, allocations: 19.92 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.002207, allocations: 43.83 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002209, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002209, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002212, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 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.0002669/0.002479, allocations: 284.6 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.002512, allocations: 8.625 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.002537, allocations: 12.92 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.002664, allocations: 137.6 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.002674, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.002683, allocations: 8.375 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.002773, allocations: 83.78 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00278, allocations: 192 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.002788, allocations: 4.375 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.002795, allocations: 384 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.002824, allocations: 19.92 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.003179, allocations: 0.5088 MB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.37e-05/0.003243, allocations: 169.3 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.003267, allocations: 80.14 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.003288, allocations: 75.28 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.003324, allocations: 117.8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.003325, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.019e-05/0.003375, allocations: 29.7 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.003419, allocations: 130.6 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.003513, allocations: 148.8 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003521, allocations: 25.7 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.003576, allocations: 127.7 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.003578, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.003608, allocations: 21.67 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003563/0.003964, allocations: 330.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.003971, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.004008, allocations: 58.84 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.004062, allocations: 66.73 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.004065, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.798e-05/0.004152, allocations: 77.48 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004163, allocations: 4 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.004169, allocations: 4.25 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.004181, allocations: 4 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.004225, allocations: 19.98 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.004229, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.004251, allocations: 7.938 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.004256, allocations: 8 kB / 0.8423 GB, free: 10.17 MB / 0.8073 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 6.308e-05/0.004319, allocations: 189 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.004354, allocations: 105 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.004392, allocations: 120.7 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/0.004431, allocations: 180.2 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/0.004468, allocations: 180.3 kB / 0.843 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.705e-05/0.004505, allocations: 184.2 kB / 0.8432 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.004634, allocations: 333.4 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.004658, allocations: 108.9 kB / 0.8436 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.004679, allocations: 101 kB / 0.8437 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.663e-05/0.004716, allocations: 176.3 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.004758, allocations: 192.2 kB / 0.8441 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.669e-05/0.004795, allocations: 176.3 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-05/0.004835, allocations: 188.4 kB / 0.8444 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.004924, allocations: 315.7 kB / 0.8447 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.004964, allocations: 112.9 kB / 0.8448 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.005007, allocations: 184.3 kB / 0.845 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.005053, allocations: 108.9 kB / 0.8451 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.005094, allocations: 176.3 kB / 0.8453 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.005124, allocations: 108.9 kB / 0.8454 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.005149, allocations: 30.19 kB / 0.8454 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005149, allocations: 0 / 0.8454 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000126/0.005275, allocations: 11.95 kB / 0.8454 GB, free: 6.781 MB / 0.8073 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 7.179e-05/0.005347, allocations: 147.7 kB / 0.8456 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.652e-05/0.005404, allocations: 33.09 kB / 0.8456 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.005408, allocations: 4 kB / 0.8456 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.005409, allocations: 0 / 0.8456 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.005602, allocations: 470 kB / 0.846 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.00581, allocations: 227.9 kB / 0.8463 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.005841, allocations: 59.34 kB / 0.8463 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.005873, allocations: 4.734 kB / 0.8463 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.005903, allocations: 55.56 kB / 0.8464 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.005904, allocations: 4 kB / 0.8464 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of Templates: time 0.001819/0.007723, allocations: 328.5 kB / 0.8467 GB, free: 5.414 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.300009329803288]