Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001244/0.001244, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001103/0.001103, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.562/1.562, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7112 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.28 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3489, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00206/0.351, allocations: 0.8381 MB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.3512, allocations: 39.78 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.3512, allocations: 4 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.3513, allocations: 11.86 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.3513, allocations: 7.875 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.12e-05/0.3514, allocations: 19.98 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.3515, allocations: 67.75 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3516, allocations: 47.95 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.3517, allocations: 23.81 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.3517, allocations: 39.78 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3517, allocations: 4 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.3518, allocations: 8 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3518, allocations: 11.92 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.3518, allocations: 35.8 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.3519, allocations: 75.66 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3519, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3519, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3519, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 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.0003767/0.3523, allocations: 375.2 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3523, allocations: 12.92 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.3524, allocations: 12.84 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3526, allocations: 196.2 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3526, allocations: 4.375 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3526, allocations: 8.375 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3528, allocations: 95.8 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.3528, allocations: 192 / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3528, allocations: 3.938 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3528, allocations: 8 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.3529, allocations: 39.92 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3534, allocations: 428.6 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.3535, allocations: 45.23 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.3535, allocations: 25.72 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3535, allocations: 3.938 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3536, allocations: 34.56 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3536, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.3537, allocations: 53.48 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3538, allocations: 85.34 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3539, allocations: 156.3 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.354, allocations: 25.7 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.354, allocations: 108 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.475e-06/0.354, allocations: 3.906 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3541, allocations: 21.7 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3542, allocations: 314.8 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.3542, allocations: 7.984 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.3542, allocations: 21.72 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.3543, allocations: 33.66 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3543, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.668e-05/0.3544, allocations: 57.53 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3544, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3544, allocations: 7.938 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3544, allocations: 4.062 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.3545, allocations: 4 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3545, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.3545, allocations: 11.84 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.3545, allocations: 96 / 1.022 GB, free: 6.238 MB / 0.795 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 8.271e-05/0.3546, allocations: 113.8 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.3547, allocations: 11.89 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3547, allocations: 19.8 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.3547, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3547, allocations: 4 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3547, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.3551, allocations: 470.8 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3551, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.3551, allocations: 4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3552, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3552, allocations: 4 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.3552, allocations: 3.984 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3552, allocations: 8 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.982e-05/0.3553, allocations: 81.78 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.3553, allocations: 89 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3554, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.3554, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.3554, allocations: 7.969 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3554, allocations: 4 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.3555, allocations: 121.9 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001798/0.3557, allocations: 8 kB / 1.023 GB, free: 5.191 MB / 0.795 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.000126/0.3558, allocations: 95.25 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.355e-05/0.3559, allocations: 23.92 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3559, allocations: 128 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.3559, allocations: 12 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3561, allocations: 11.94 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.3564, allocations: 154.8 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3567, allocations: 0.6967 MB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.3568, allocations: 8.562 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.3568, allocations: 11.44 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of SimCode: time 1.9e-07/0.3568, allocations: 0 / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of Templates: time 0.002558/0.3594, allocations: 462 kB / 1.024 GB, free: 3.66 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches