Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009233/0.0009232, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.000853/0.0008531, allocations: 99.61 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.339e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2611, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8261/1.087, allocations: 149.6 MB / 1.365 GB, free: 4.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/1.088, allocations: 69.55 kB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002402/1.09, allocations: 1.082 MB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/1.09, allocations: 4 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.09, allocations: 7.938 kB / 1.366 GB, free: 3.422 MB / 0.823 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.0003102/1.09, allocations: 352.6 kB / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.09, allocations: 12.02 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/1.09, allocations: 11.86 kB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.091, allocations: 182.8 kB / 1.366 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.091, allocations: 2.062 kB / 1.366 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/1.091, allocations: 11.31 kB / 1.366 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/1.091, allocations: 88.84 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.091, allocations: 4 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/1.091, allocations: 4 kB / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.091, allocations: 0 / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/1.091, allocations: 45.23 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/1.091, allocations: 442 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/1.091, allocations: 45.27 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/1.092, allocations: 25.45 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/1.092, allocations: 4 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/1.092, allocations: 30.56 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.092, allocations: 0 / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/1.092, allocations: 48.61 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.092, allocations: 77.11 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.092, allocations: 152 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/1.092, allocations: 27.67 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/1.092, allocations: 106 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/1.092, allocations: 7.891 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.092, allocations: 4 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/1.092, allocations: 317.9 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/1.092, allocations: 10.56 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/1.092, allocations: 21.39 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/1.092, allocations: 15.5 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.092, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.615e-05/1.092, allocations: 56.55 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.092, allocations: 8 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.092, allocations: 0 / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.092, allocations: 3.984 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/1.092, allocations: 8 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.092, allocations: 0 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/1.092, allocations: 7.844 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/1.092, allocations: 4 kB / 1.368 GB, free: 1.223 MB / 0.823 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 5.51e-05/1.092, allocations: 109.2 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/1.093, allocations: 7.906 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/1.093, allocations: 23.27 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.093, allocations: 0 / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.093, allocations: 0 / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.093, allocations: 0 / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/1.093, allocations: 476.5 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.093, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/1.093, allocations: 4 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.093, allocations: 0 / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.093, allocations: 4 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.093, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.093, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/1.093, allocations: 98.62 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.093, allocations: 92.5 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.093, allocations: 0 / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/1.093, allocations: 0 / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/1.093, allocations: 4 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/1.093, allocations: 0 / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of sorting global known variables: time 7.64e-05/1.093, allocations: 126.4 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.093, allocations: 0 / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001629/1.093, allocations: 12.03 kB / 1.369 GB, free: 220 kB / 0.823 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.0001079/1.094, allocations: 95.25 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.868e-05/1.094, allocations: 22.38 kB / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.094, allocations: 0 / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/1.094, allocations: 4 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/1.094, allocations: 8.562 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/1.094, allocations: 109.2 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/1.094, allocations: 0.7004 MB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.672e-05/1.094, allocations: 4.438 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/1.094, allocations: 11.44 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.094, allocations: 0 / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.002212/1.097, allocations: 430.9 kB / 1.37 GB, free: 14.8 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches