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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.94 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.616/2.616, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8611, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009168/0.862, allocations: 0.5114 MB / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.536e-05/0.8621, allocations: 40.56 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.8622, allocations: 1.5 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.8622, allocations: 3.938 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.8623, allocations: 9.406 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.927e-05/0.8623, allocations: 11.73 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.8624, allocations: 36.34 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.8626, allocations: 38.17 kB / 0.9542 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.8626, allocations: 20.53 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.8627, allocations: 20.11 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.8627, allocations: 2.188 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.8627, allocations: 1.25 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.8627, allocations: 10.77 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.8627, allocations: 36.23 kB / 0.9542 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.8628, allocations: 50.59 kB / 0.9543 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8628, allocations: 4 kB / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8628, allocations: 0 / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8628, allocations: 1.594 kB / 0.9543 GB, free: 7.5 MB / 0.7169 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.0003245/0.8632, allocations: 367.3 kB / 0.9546 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8632, allocations: 9.219 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.8633, allocations: 16.08 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.8634, allocations: 185.2 kB / 0.9548 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.8635, allocations: 6.969 kB / 0.9548 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.8635, allocations: 13.84 kB / 0.9549 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.8636, allocations: 87.7 kB / 0.9549 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8637, allocations: 0 / 0.9549 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8637, allocations: 1.344 kB / 0.9549 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8637, allocations: 1.125 kB / 0.9549 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.8638, allocations: 43.28 kB / 0.955 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.8642, allocations: 438 kB / 0.9554 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/0.8643, allocations: 45.17 kB / 0.9555 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.8643, allocations: 0.9688 kB / 0.9555 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.8643, allocations: 36.03 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8643, allocations: 0 / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/0.8645, allocations: 50.45 kB / 0.9555 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.8645, allocations: 82.52 kB / 0.9556 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.8647, allocations: 162 kB / 0.9558 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.8647, allocations: 25.7 kB / 0.9558 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.8648, allocations: 104.6 kB / 0.9559 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.8648, allocations: 13.38 kB / 0.9559 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.8648, allocations: 4.25 kB / 0.9559 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.8648, allocations: 325 kB / 0.9562 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.8649, allocations: 4.031 kB / 0.9562 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.8649, allocations: 25.47 kB / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.8649, allocations: 13.56 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8649, allocations: 0 / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.204e-05/0.865, allocations: 54.98 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.865, allocations: 6.625 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.865, allocations: 3.938 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8651, allocations: 1.406 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.8651, allocations: 9.547 kB / 0.9563 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8651, allocations: 3.938 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.8652, allocations: 2.469 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.8652, allocations: 1.406 kB / 0.9563 GB, free: 5.406 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.8652, allocations: 116.8 kB / 0.9565 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.8653, allocations: 12.59 kB / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.8653, allocations: 15.45 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8653, allocations: 0 / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8653, allocations: 1.188 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8653, allocations: 0 / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.8656, allocations: 474.1 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8656, allocations: 1.344 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.8656, allocations: 6.375 kB / 0.9569 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8657, allocations: 5.188 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.8657, allocations: 1.188 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8657, allocations: 1.25 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8657, allocations: 0 / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.8658, allocations: 92.28 kB / 0.957 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.8658, allocations: 92.7 kB / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.8658, allocations: 0 / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.8658, allocations: 9.078 kB / 0.9571 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.8659, allocations: 4.922 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.8659, allocations: 1.125 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.8659, allocations: 121.4 kB / 0.9573 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.866, allocations: 0 / 0.9573 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000184/0.8661, allocations: 11.03 kB / 0.9573 GB, free: 4.434 MB / 0.7169 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 (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.000104/0.8662, allocations: 104.9 kB / 0.9574 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.8663, allocations: 18.25 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.8663, allocations: 0 / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.8664, allocations: 3.969 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.8665, allocations: 7.125 kB / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.8668, allocations: 178.1 kB / 0.9576 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.8669, allocations: 0.6957 MB / 0.9582 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.8669, allocations: 4.125 kB / 0.9582 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.8669, allocations: 12.12 kB / 0.9583 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.867, allocations: 4 kB / 0.9583 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.002355/0.8693, allocations: 416.3 kB / 0.9587 GB, free: 3.215 MB / 0.7169 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