Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001107, allocations: 100 kB / 15.05 MB, free: 1.105 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.001033/0.001034, allocations: 177.3 kB / 15.95 MB, free: 216 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.45/2.45, allocations: 390.2 MB / 0.6653 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003459, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.951, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001024/0.9521, allocations: 0.5108 MB / 0.954 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.9522, allocations: 44.36 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.9523, allocations: 6.719 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.9523, allocations: 3.938 kB / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.9524, allocations: 5.094 kB / 0.9541 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.128e-05/0.9524, allocations: 14.86 kB / 0.9541 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.9525, allocations: 32.34 kB / 0.9541 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.9526, allocations: 38.31 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.9527, allocations: 16.59 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.9528, allocations: 16.33 kB / 0.9542 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.9528, allocations: 5.25 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.9528, allocations: 2.844 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.9528, allocations: 9.281 kB / 0.9542 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.9528, allocations: 37.86 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.608e-05/0.9529, allocations: 49.06 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.9529, allocations: 1.031 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9529, allocations: 0 / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.953, allocations: 0 / 0.9543 GB, free: 7.469 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.000385/0.9533, allocations: 373 kB / 0.9546 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.9534, allocations: 12.91 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.9534, allocations: 16.23 kB / 0.9547 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.9536, allocations: 185.3 kB / 0.9548 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.9537, allocations: 3.438 kB / 0.9548 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.9537, allocations: 9.125 kB / 0.9549 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.9538, allocations: 92.09 kB / 0.9549 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9538, allocations: 1.188 kB / 0.9549 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9539, allocations: 3.938 kB / 0.955 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9539, allocations: 6.344 kB / 0.955 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.954, allocations: 47.44 kB / 0.955 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.9544, allocations: 433.3 kB / 0.9554 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.9545, allocations: 45.41 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.9545, allocations: 1.5 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.9545, allocations: 31.56 kB / 0.9555 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.9545, allocations: 0 / 0.9555 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001762/0.9547, allocations: 54.56 kB / 0.9555 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.9547, allocations: 78.02 kB / 0.9556 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.9549, allocations: 168.5 kB / 0.9558 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.9549, allocations: 25.7 kB / 0.9558 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.955, allocations: 103.8 kB / 0.9559 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.955, allocations: 13.31 kB / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.955, allocations: 0 / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.9551, allocations: 325.7 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.9551, allocations: 2.375 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.9551, allocations: 18.53 kB / 0.9562 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.9551, allocations: 16.5 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9551, allocations: 0 / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.206e-05/0.9552, allocations: 56.31 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.9552, allocations: 4.031 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9553, allocations: 1.344 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9553, allocations: 0 / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.9553, allocations: 10.28 kB / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9554, allocations: 0 / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.9554, allocations: 6.906 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.9554, allocations: 5.438 kB / 0.9563 GB, free: 5.371 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 6.072e-05/0.9555, allocations: 123.1 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.9555, allocations: 8.188 kB / 0.9565 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.9555, allocations: 10.75 kB / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9555, allocations: 0 / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9556, allocations: 1.156 kB / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9556, allocations: 0 / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.9559, allocations: 478.6 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9559, allocations: 4.031 kB / 0.9569 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.9559, allocations: 7.672 kB / 0.9569 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.9559, allocations: 5.016 kB / 0.9569 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.9559, allocations: 0 / 0.9569 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9559, allocations: 1.25 kB / 0.957 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9559, allocations: 1.438 kB / 0.957 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.955e-05/0.956, allocations: 91.64 kB / 0.957 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.9561, allocations: 91.47 kB / 0.9571 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.9561, allocations: 5.188 kB / 0.9571 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.9561, allocations: 1.094 kB / 0.9571 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.9562, allocations: 5.078 kB / 0.9571 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.9562, allocations: 1.219 kB / 0.9571 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.9562, allocations: 123.1 kB / 0.9573 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9562, allocations: 1.5 kB / 0.9573 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001884/0.9564, allocations: 11.03 kB / 0.9573 GB, free: 4.395 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.0001187/0.9566, allocations: 106.1 kB / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.9566, allocations: 18.09 kB / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9566, allocations: 0 / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.9567, allocations: 4.5 kB / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.9568, allocations: 11.34 kB / 0.9574 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.9571, allocations: 169.4 kB / 0.9576 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.9573, allocations: 0.6995 MB / 0.9582 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.9573, allocations: 9.922 kB / 0.9583 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.9573, allocations: 13.81 kB / 0.9583 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9573, allocations: 1.031 kB / 0.9583 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.002641/0.96, allocations: 411.7 kB / 0.9587 GB, free: 3.176 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches