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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 176.2 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.799/1.799, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 91.95 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.315e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3441, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.398, allocations: 148.9 MB / 1.358 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/1.398, allocations: 62.02 kB / 1.358 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/1.401, allocations: 1.085 MB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.401, allocations: 0 / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.401, allocations: 0 / 1.359 GB, free: 33.05 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.0002973/1.401, allocations: 358.2 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.401, allocations: 7.812 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/1.401, allocations: 11.77 kB / 1.359 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.401, allocations: 180.1 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.401, allocations: 7.906 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/1.401, allocations: 3.812 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/1.401, allocations: 34.78 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.402, allocations: 80.19 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.402, allocations: 0 / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.402, allocations: 0 / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.402, allocations: 0 / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/1.402, allocations: 415.5 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/1.402, allocations: 40.91 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/1.402, allocations: 19.41 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/1.402, allocations: 0 / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/1.402, allocations: 36.14 kB / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/1.402, allocations: 0 / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/1.403, allocations: 50.23 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/1.403, allocations: 77.11 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/1.403, allocations: 115.4 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.403, allocations: 27.67 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/1.403, allocations: 111.4 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/1.403, allocations: 3.906 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/1.403, allocations: 0 / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.403, allocations: 319.1 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/1.403, allocations: 7.312 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/1.403, allocations: 26.36 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/1.403, allocations: 12.47 kB / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.403, allocations: 0 / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.925e-05/1.403, allocations: 54.17 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.403, allocations: 3.875 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.403, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.403, allocations: 7.938 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/1.403, allocations: 5.266 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/1.403, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/1.403, allocations: 7.781 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/1.403, allocations: 3.938 kB / 1.361 GB, free: 31.23 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.404, allocations: 101 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/1.404, allocations: 13.58 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/1.404, allocations: 11.72 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/1.404, allocations: 3.938 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.404, allocations: 5.641 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.404, allocations: 0 / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/1.404, allocations: 441.7 kB / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.404, allocations: 0 / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.404, allocations: 4.469 kB / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.404, allocations: 5.531 kB / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.404, allocations: 0 / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.404, allocations: 64 / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.404, allocations: 7.969 kB / 1.361 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/1.404, allocations: 86.2 kB / 1.361 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/1.404, allocations: 84.25 kB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.404, allocations: 0 / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/1.404, allocations: 0 / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.404, allocations: 15.59 kB / 1.362 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/1.404, allocations: 0 / 1.362 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.813e-05/1.404, allocations: 101.1 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.404, allocations: 0 / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002211/1.405, allocations: 11.66 kB / 1.362 GB, free: 30.39 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/1.405, allocations: 99.45 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/1.405, allocations: 11.34 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.405, allocations: 4.125 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/1.405, allocations: 9.047 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/1.405, allocations: 11.66 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/1.405, allocations: 101.3 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.406, allocations: 0.6963 MB / 1.363 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.265e-05/1.406, allocations: 5.531 kB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/1.406, allocations: 11.16 kB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.406, allocations: 3.938 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.002609/1.408, allocations: 290.5 kB / 1.363 GB, free: 29.44 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches