Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009041, allocations: 91.45 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 178.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003597, allocations: 14.91 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001139/0.3373, allocations: 0.5453 MB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.3374, allocations: 39.78 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3375, allocations: 0 / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3375, allocations: 7.922 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.3376, allocations: 7.938 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.062e-05/0.3377, allocations: 15.98 kB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3378, allocations: 63.75 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.338, allocations: 39.97 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.338, allocations: 19.88 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.3381, allocations: 23.84 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3381, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.3381, allocations: 3.938 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.3382, allocations: 11.94 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.3382, allocations: 53.44 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.3383, allocations: 52.17 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3383, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3383, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3384, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 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.0004309/0.3388, allocations: 367.3 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3388, allocations: 8.031 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3389, allocations: 8.844 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3391, allocations: 200.1 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3391, allocations: 4.375 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3392, allocations: 8.375 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3393, allocations: 89.05 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3394, allocations: 192 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3394, allocations: 11.94 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3394, allocations: 7.938 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.3395, allocations: 35.92 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3401, allocations: 436.6 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.3401, allocations: 41.19 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.3402, allocations: 21.84 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.3402, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3402, allocations: 30.56 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3402, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.3404, allocations: 65.47 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3405, allocations: 77.11 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3406, allocations: 163.7 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3407, allocations: 25.7 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3407, allocations: 107.9 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.3407, allocations: 4 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.3408, allocations: 9.719 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3409, allocations: 327.1 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.3409, allocations: 4 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.3409, allocations: 25.59 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.341, allocations: 21.72 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.341, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.031e-05/0.3411, allocations: 65.53 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3411, allocations: 8.062 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3411, allocations: 3.938 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3411, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.3412, allocations: 8 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3412, allocations: 3.984 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.3413, allocations: 11.84 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3413, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.3414, allocations: 117.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.3414, allocations: 7.906 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.3414, allocations: 19.81 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3415, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3415, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3415, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.3418, allocations: 470.8 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3419, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.3419, allocations: 11.97 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3419, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3419, allocations: 8 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3419, allocations: 4 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3419, allocations: 3.938 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.342, allocations: 73.84 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3421, allocations: 89 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3421, allocations: 4 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.3421, allocations: 8.031 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.3421, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3421, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.687e-05/0.3423, allocations: 122.1 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3423, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001941/0.3425, allocations: 7.906 kB / 1.063 GB, free: 0.6055 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.3426, allocations: 103.2 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.3427, allocations: 19.98 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3427, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.3427, allocations: 11.88 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.3429, allocations: 14.56 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.3433, allocations: 206.5 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3435, allocations: 0.6926 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.3436, allocations: 11.44 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3436, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002431/0.346, allocations: 0.8404 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches