Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001791, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001995/0.001995, allocations: 193 kB / 16.26 MB, free: 6.621 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.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.881/2.881, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9457/0.9477, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002435/0.9502, allocations: 0.8779 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.9503, allocations: 43.78 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.9504, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.9504, allocations: 3.938 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.9505, allocations: 11.98 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.667e-05/0.9506, allocations: 11.94 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.9507, allocations: 67.78 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.9509, allocations: 39.97 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.951, allocations: 27.86 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.951, allocations: 27.84 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.9511, allocations: 8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.9511, allocations: 4 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.9511, allocations: 19.92 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.9512, allocations: 27.81 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.9513, allocations: 77.66 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.9513, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9513, allocations: 7.938 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.9513, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.7637 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.0005376/0.9519, allocations: 379.2 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.9519, allocations: 8.031 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.952, allocations: 16.84 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.9522, allocations: 188.2 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.9522, allocations: 8.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.9523, allocations: 8.359 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.9524, allocations: 103.8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9525, allocations: 192 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9525, allocations: 7.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.9525, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.9526, allocations: 31.98 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.9532, allocations: 440.6 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.9533, allocations: 33.16 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.9533, allocations: 29.81 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9533, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.9534, allocations: 34.56 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9534, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.9536, allocations: 65.38 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.9536, allocations: 77.11 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.9538, allocations: 164.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.9538, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.9539, allocations: 108 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.9539, allocations: 4.156 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.954, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9541, allocations: 322.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.9542, allocations: 8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.9542, allocations: 17.66 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.9542, allocations: 29.66 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9542, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.797e-05/0.9543, allocations: 57.59 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9544, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9544, allocations: 7.875 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9544, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.9545, allocations: 8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.9545, allocations: 3.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.9545, allocations: 7.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.9545, allocations: 7.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 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 9.856e-05/0.9546, allocations: 118.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.9547, allocations: 7.906 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.9547, allocations: 7.812 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9547, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9547, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9547, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.9552, allocations: 478.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.9552, allocations: 3.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.9552, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9552, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.9552, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9552, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9552, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.9553, allocations: 85.81 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.9554, allocations: 92.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.9554, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.9555, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.9555, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.9555, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001041/0.9556, allocations: 116.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9556, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001828/0.9558, allocations: 12 kB / 1.021 GB, free: 14 MB / 0.7794 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.0001485/0.9559, allocations: 109.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.956, allocations: 15.94 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9561, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.9561, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.9562, allocations: 11.94 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.9566, allocations: 187 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.9569, allocations: 0.6924 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.957, allocations: 12.42 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.957, allocations: 15.38 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.957, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.002927/0.9599, allocations: 444.7 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches