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.001243/0.001243, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.137 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.503/2.503, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.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.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.012e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002619/0.002649, allocations: 0.8571 MB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.002828, allocations: 55.72 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.002886, allocations: 3.938 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.00293, allocations: 7.875 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.003013, allocations: 11.86 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.217e-05/0.003075, allocations: 15.98 kB / 0.8396 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.003194, allocations: 63.84 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.003318, allocations: 27.95 kB / 0.8397 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.003416, allocations: 43.84 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.003475, allocations: 19.91 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.003495, allocations: 4 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.003505, allocations: 8 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.003528, allocations: 15.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.003556, allocations: 19.92 kB / 0.8398 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003666, allocations: 43.77 kB / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.00367, allocations: 4 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003671, allocations: 0 / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003676, allocations: 0 / 0.8398 GB, free: 13 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.0003544/0.00403, allocations: 284.5 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.004071, allocations: 8.625 kB / 0.8401 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.004104, allocations: 8.938 kB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004265, allocations: 133.7 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004277, allocations: 8.375 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.004291, allocations: 12.31 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.004416, allocations: 79.84 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004427, allocations: 4.172 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004436, allocations: 384 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.004444, allocations: 4.375 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.004486, allocations: 23.86 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.004953, allocations: 0.5088 MB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.005028, allocations: 169.1 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.005059, allocations: 80.14 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.005082, allocations: 79.28 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.005125, allocations: 105.8 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.005126, allocations: 4.094 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.527e-05/0.005191, allocations: 33.62 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.005242, allocations: 126.7 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.00537, allocations: 148.5 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.00538, allocations: 25.7 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.005453, allocations: 123.8 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.005456, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.005495, allocations: 29.66 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005595, allocations: 326.8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.005606, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.005657, allocations: 70.77 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.738e-05/0.005724, allocations: 58.8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005727, allocations: 4 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001259/0.005853, allocations: 73.48 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.005871, allocations: 8 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005876, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.005892, allocations: 4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.005956, allocations: 15.94 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.005961, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.006003, allocations: 8.188 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006009, allocations: 8 kB / 0.8423 GB, free: 10.23 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 9.559e-05/0.006105, allocations: 197 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.006163, allocations: 108.9 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.006213, allocations: 108.8 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/0.006276, allocations: 188.2 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.128e-05/0.006327, allocations: 176.3 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.006383, allocations: 180.3 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.00658, allocations: 337.3 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.006614, allocations: 101 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.006648, allocations: 108.9 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.564e-05/0.006704, allocations: 188.2 kB / 0.8439 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.006758, allocations: 176.3 kB / 0.8441 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.006815, allocations: 188.2 kB / 0.8442 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-05/0.006869, allocations: 176.5 kB / 0.8444 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006998, allocations: 319.7 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.007049, allocations: 108.9 kB / 0.8448 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.007112, allocations: 180.2 kB / 0.845 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.007194, allocations: 105 kB / 0.8451 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.007259, allocations: 188.2 kB / 0.8453 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.007292, allocations: 101 kB / 0.8454 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.03e-05/0.007333, allocations: 34.55 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007333, allocations: 0 / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002514/0.007584, allocations: 7.953 kB / 0.8454 GB, free: 6.848 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 0.0001207/0.007705, allocations: 154.7 kB / 0.8456 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.007784, allocations: 32.72 kB / 0.8456 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.007788, allocations: 0 / 0.8456 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.007791, allocations: 4 kB / 0.8456 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.008088, allocations: 464.1 kB / 0.846 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.008384, allocations: 231.9 kB / 0.8463 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.008426, allocations: 55.36 kB / 0.8463 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.235e-05/0.008469, allocations: 8.719 kB / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.008506, allocations: 51.38 kB / 0.8464 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/0.008506, allocations: 0 / 0.8464 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of Templates: time 0.00238/0.01089, allocations: 344.7 kB / 0.8467 GB, free: 5.469 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.34327905299142]