Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009839/0.0009839, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001738/0.001738, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9995/0.9995, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.823/1.823, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.722e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001539/0.001556, allocations: 0.8255 MB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.001677, allocations: 43.78 kB / 0.8124 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.00173, allocations: 5.188 kB / 0.8124 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.001767, allocations: 7.875 kB / 0.8124 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.001846, allocations: 11.86 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.907e-05/0.001895, allocations: 17.58 kB / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.001998, allocations: 63.84 kB / 0.8125 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.002108, allocations: 23.97 kB / 0.8125 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.002193, allocations: 39.84 kB / 0.8125 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.002227, allocations: 22.5 kB / 0.8126 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.002248, allocations: 8 kB / 0.8126 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.002255, allocations: 4 kB / 0.8126 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.002276, allocations: 19.92 kB / 0.8126 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.002304, allocations: 19.92 kB / 0.8126 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.002397, allocations: 43.77 kB / 0.8127 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002399, allocations: 0 / 0.8127 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.21e-07/0.0024, allocations: 0.7188 kB / 0.8127 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002404, allocations: 0 / 0.8127 GB, free: 0.9531 MB / 0.7605 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.0003588/0.002763, allocations: 408.8 kB / 0.813 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.002801, allocations: 13.69 kB / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.002843, allocations: 16.89 kB / 0.8131 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.003002, allocations: 132.5 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.003015, allocations: 8.375 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.003026, allocations: 4.906 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.003148, allocations: 93.45 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003156, allocations: 0.7188 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.003168, allocations: 5.219 kB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.003178, allocations: 4.375 kB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.003224, allocations: 32.95 kB / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.003911, allocations: 450.4 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.581e-05/0.003967, allocations: 67.47 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.003998, allocations: 23.48 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.004005, allocations: 0 / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.004027, allocations: 39.14 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004028, allocations: 0 / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.004162, allocations: 45.59 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.004197, allocations: 86 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.004297, allocations: 181.9 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.004306, allocations: 26.55 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.004374, allocations: 162.7 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.004384, allocations: 14.03 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.00441, allocations: 23.38 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.004531, allocations: 492.1 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.004544, allocations: 4 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.004567, allocations: 27.36 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.004599, allocations: 33.97 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004601, allocations: 0 / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.474e-05/0.004655, allocations: 53.58 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.004669, allocations: 4 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004674, allocations: 0 / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.004689, allocations: 0 / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.004738, allocations: 13.62 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.004745, allocations: 3.938 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.004759, allocations: 4 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004762, allocations: 4 kB / 0.815 GB, free: 14.29 MB / 0.7761 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 5.774e-05/0.00482, allocations: 153.1 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.00484, allocations: 4.531 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.004866, allocations: 17.05 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.004868, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.004874, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.00488, allocations: 3.938 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.005172, allocations: 0.5427 MB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.005175, allocations: 5.031 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.005186, allocations: 3.984 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.005189, allocations: 7.688 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.005198, allocations: 7.875 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005199, allocations: 3.938 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0052, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.217e-05/0.005262, allocations: 88.08 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.005276, allocations: 4 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.005289, allocations: 7.938 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.005297, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.005313, allocations: 4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.005315, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.005367, allocations: 146.9 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005367, allocations: 0 / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001296/0.005497, allocations: 15.89 kB / 0.816 GB, free: 13.2 MB / 0.7761 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.746e-05/0.005585, allocations: 98.41 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.005674, allocations: 23.69 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005676, allocations: 1.125 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.005688, allocations: 19.61 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.005795, allocations: 1.094 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.006073, allocations: 171.7 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.006107, allocations: 59.34 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.006131, allocations: 4 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.006155, allocations: 9.281 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.006156, allocations: 0 / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.001755/0.007911, allocations: 354.3 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.066768226912245]