Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 92.55 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.001261/0.001261, allocations: 177.6 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.293 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.463/2.463, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7576, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009524/0.7586, allocations: 0.5349 MB / 0.9562 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.603e-05/0.7587, allocations: 36.53 kB / 0.9563 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.7587, allocations: 1.062 kB / 0.9563 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.7588, allocations: 7.938 kB / 0.9563 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.7589, allocations: 13.12 kB / 0.9563 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.459e-05/0.7589, allocations: 15.61 kB / 0.9563 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.759, allocations: 58.06 kB / 0.9564 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.7592, allocations: 43.89 kB / 0.9564 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.7592, allocations: 13.62 kB / 0.9564 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.7593, allocations: 24.11 kB / 0.9564 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.7593, allocations: 1.312 kB / 0.9564 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.7593, allocations: 1.406 kB / 0.9564 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.7593, allocations: 13.36 kB / 0.9565 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.7594, allocations: 47.86 kB / 0.9565 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.722e-05/0.7594, allocations: 51.47 kB / 0.9565 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7594, allocations: 0 / 0.9565 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7595, allocations: 1.344 kB / 0.9565 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7595, allocations: 4 kB / 0.9566 GB, free: 7.004 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.0003175/0.7598, allocations: 361.5 kB / 0.9569 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.7598, allocations: 8.688 kB / 0.9569 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.7599, allocations: 24.95 kB / 0.9569 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.76, allocations: 187.1 kB / 0.9571 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7601, allocations: 7.562 kB / 0.9571 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.7601, allocations: 9.094 kB / 0.9571 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.7602, allocations: 99.27 kB / 0.9572 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7602, allocations: 192 / 0.9572 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.7603, allocations: 4.938 kB / 0.9572 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.7603, allocations: 2.344 kB / 0.9572 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.7603, allocations: 39.69 kB / 0.9573 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.7608, allocations: 437.8 kB / 0.9577 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.7608, allocations: 37.59 kB / 0.9577 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.7608, allocations: 19.66 kB / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.7609, allocations: 96 / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.7609, allocations: 44.55 kB / 0.9578 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.7609, allocations: 0 / 0.9578 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.761, allocations: 58.75 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.7611, allocations: 78.11 kB / 0.9579 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.7612, allocations: 163 kB / 0.9581 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.7612, allocations: 26.98 kB / 0.9581 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.7613, allocations: 108.3 kB / 0.9582 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.7613, allocations: 5.281 kB / 0.9582 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.7613, allocations: 18.78 kB / 0.9582 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.7614, allocations: 320.8 kB / 0.9585 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.7614, allocations: 3.469 kB / 0.9585 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.7614, allocations: 18.44 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.7614, allocations: 30.55 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7614, allocations: 4 kB / 0.9586 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.119e-05/0.7615, allocations: 54.98 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7615, allocations: 5.531 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.7615, allocations: 5 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.7616, allocations: 1.188 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.7616, allocations: 8.781 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7616, allocations: 5.203 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.7617, allocations: 6.156 kB / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.7617, allocations: 1.125 kB / 0.9587 GB, free: 4.844 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.7617, allocations: 117.1 kB / 0.9588 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.7618, allocations: 8.312 kB / 0.9588 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.7618, allocations: 15.03 kB / 0.9588 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7618, allocations: 3.938 kB / 0.9588 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7618, allocations: 1.094 kB / 0.9588 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7618, allocations: 9.047 kB / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.7621, allocations: 474.4 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7621, allocations: 0 / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.7621, allocations: 3.438 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7621, allocations: 1.125 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.7621, allocations: 1.156 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7622, allocations: 0 / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7622, allocations: 1.031 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.443e-05/0.7622, allocations: 90.14 kB / 0.9594 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.7623, allocations: 87.8 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.7623, allocations: 1.125 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.7623, allocations: 1.188 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.7623, allocations: 5.234 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.7623, allocations: 1.25 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.7624, allocations: 121.5 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7624, allocations: 1.406 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001828/0.7626, allocations: 6.406 kB / 0.9596 GB, free: 3.895 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 (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.0001029/0.7627, allocations: 103.7 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.7628, allocations: 19.47 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7628, allocations: 0 / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.7628, allocations: 4.062 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.763, allocations: 13.98 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.7633, allocations: 210.1 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.7634, allocations: 0.6917 MB / 0.9606 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.7634, allocations: 15.47 kB / 0.9606 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.7634, allocations: 4 kB / 0.9606 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of Templates: time 0.002081/0.7655, allocations: 0.852 MB / 0.9614 GB, free: 2.414 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches