Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009978/0.0009977, allocations: 180.9 kB / 487.4 MB, free: 5.043 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.538/1.538, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 95.84 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.884e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.434, allocations: 148.1 MB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.435, allocations: 62.14 kB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003144/1.438, allocations: 1.091 MB / 1.352 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/1.438, allocations: 4 kB / 1.352 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.876e-06/1.438, allocations: 0 / 1.352 GB, free: 34.1 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.0003186/1.438, allocations: 355.4 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.438, allocations: 12.52 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/1.438, allocations: 7.812 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.439, allocations: 179.6 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.439, allocations: 7.906 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.439, allocations: 7.844 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.752e-05/1.439, allocations: 34.48 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.439, allocations: 75.48 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.439, allocations: 0 / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.439, allocations: 0 / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/1.439, allocations: 4.406 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/1.439, allocations: 410.7 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/1.439, allocations: 37.33 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/1.44, allocations: 18.44 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/1.44, allocations: 5.344 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.44, allocations: 36.58 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.44, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/1.44, allocations: 43.95 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.44, allocations: 77.91 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.44, allocations: 115.2 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/1.44, allocations: 29.77 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/1.44, allocations: 109 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/1.44, allocations: 7.156 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/1.44, allocations: 1.344 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.44, allocations: 314 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/1.44, allocations: 5.5 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/1.44, allocations: 22.69 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/1.44, allocations: 12.55 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.44, allocations: 1.312 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/1.44, allocations: 54.47 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.44, allocations: 5.828 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.44, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.44, allocations: 2.078 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/1.44, allocations: 13.08 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.44, allocations: 2.594 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/1.441, allocations: 5.25 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/1.441, allocations: 6.141 kB / 1.354 GB, free: 32.28 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 6.524e-05/1.441, allocations: 102.2 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/1.441, allocations: 11.09 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/1.441, allocations: 6.016 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.441, allocations: 1.953 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.441, allocations: 1.25 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.441, allocations: 0.6562 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/1.441, allocations: 456.1 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.441, allocations: 0.6094 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/1.441, allocations: 4.562 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.441, allocations: 8.141 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/1.441, allocations: 1.312 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.441, allocations: 4.547 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.441, allocations: 1.312 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.459e-05/1.441, allocations: 87.52 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/1.441, allocations: 85.09 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/1.441, allocations: 5.953 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/1.441, allocations: 0 / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/1.441, allocations: 1.844 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/1.441, allocations: 1.953 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.096e-05/1.441, allocations: 102.2 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.441, allocations: 4.031 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002063/1.442, allocations: 11.53 kB / 1.354 GB, free: 31.43 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.0001231/1.442, allocations: 96.84 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.746e-05/1.442, allocations: 14.72 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.442, allocations: 0 / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/1.442, allocations: 7.812 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/1.442, allocations: 10.84 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/1.442, allocations: 100.5 kB / 1.355 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.443, allocations: 0.6961 MB / 1.355 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.857e-05/1.443, allocations: 4.125 kB / 1.355 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/1.443, allocations: 10 kB / 1.355 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.443, allocations: 1.312 kB / 1.355 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.002044/1.445, allocations: 292.5 kB / 1.356 GB, free: 30.48 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches