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.001326/0.001326, allocations: 117.5 kB / 16.42 MB, free: 6.02 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.001467/0.001467, allocations: 182.8 kB / 17.35 MB, free: 5.625 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.474/1.474, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.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.714/2.714, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29/1.292, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003091/1.295, allocations: 0.8275 MB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/1.295, allocations: 43.78 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/1.296, allocations: 4 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.405e-05/1.296, allocations: 3.938 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/1.296, allocations: 11.88 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.587e-05/1.296, allocations: 19.97 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/1.296, allocations: 59.84 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/1.296, allocations: 47.92 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/1.296, allocations: 19.92 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/1.296, allocations: 31.8 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/1.296, allocations: 4 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/1.296, allocations: 8 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/1.296, allocations: 19.91 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/1.297, allocations: 27.81 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/1.297, allocations: 76.14 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.297, allocations: 4 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.285e-05/1.297, allocations: 4 kB / 1.169 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.297, allocations: 0 / 1.169 GB, free: 2.695 MB / 0.8887 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.0005715/1.297, allocations: 375.1 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.297, allocations: 12.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/1.298, allocations: 16.84 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/1.298, allocations: 196.2 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.298, allocations: 8.375 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/1.298, allocations: 4.375 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/1.298, allocations: 106.3 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.298, allocations: 192 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/1.298, allocations: 7.938 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.298, allocations: 4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/1.298, allocations: 31.92 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/1.299, allocations: 444.7 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/1.299, allocations: 37.31 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/1.299, allocations: 21.72 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/1.299, allocations: 0 / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.299, allocations: 34.56 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/1.299, allocations: 0 / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001997/1.299, allocations: 61.52 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/1.299, allocations: 77.11 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.299, allocations: 160.7 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.3, allocations: 25.7 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/1.3, allocations: 108 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/1.3, allocations: 3.953 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/1.3, allocations: 17.97 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.3, allocations: 322.8 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/1.3, allocations: 8 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/1.3, allocations: 17.72 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/1.3, allocations: 25.66 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.3, allocations: 0 / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.818e-05/1.3, allocations: 69.53 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.3, allocations: 4 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/1.3, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.3, allocations: 3.938 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/1.3, allocations: 12 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.3, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/1.3, allocations: 3.938 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/1.3, allocations: 7.984 kB / 1.171 GB, free: 260 kB / 0.8887 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.41e-05/1.3, allocations: 121.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/1.3, allocations: 7.953 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/1.3, allocations: 11.89 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.3, allocations: 4 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.3, allocations: 0 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/1.301, allocations: 93.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/1.301, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/1.301, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/1.301, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001549/1.301, allocations: 204.1 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002394/1.301, allocations: 309.9 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.944e-05/1.301, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001165/1.301, allocations: 121.8 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of Backend: time 8.02e-07/1.301, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005257/1.302, allocations: 88.64 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006178/1.302, allocations: 0.6119 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.003028/1.305, allocations: 0.524 MB / 1.173 GB, free: 14.05 MB / 0.9044 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=480 -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/jenkins1/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