Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.005577/0.005577, allocations: 103.2 kB / 15.73 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.001177/0.001177, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.142, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002429/1.145, allocations: 0.8227 MB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/1.145, allocations: 45.06 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/1.145, allocations: 1.125 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/1.145, allocations: 10.36 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/1.145, allocations: 8.641 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.289e-05/1.145, allocations: 21.52 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/1.145, allocations: 62.66 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/1.146, allocations: 33.23 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/1.146, allocations: 34.73 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/1.146, allocations: 29.92 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/1.146, allocations: 5.906 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/1.146, allocations: 5.531 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/1.146, allocations: 16.66 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/1.146, allocations: 32.31 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/1.146, allocations: 74.77 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.146, allocations: 1.891 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.146, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.146, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8575 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.0004339/1.146, allocations: 377.9 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.146, allocations: 13.59 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/1.147, allocations: 13.88 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/1.147, allocations: 196.3 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.147, allocations: 4.375 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/1.147, allocations: 9.656 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.147, allocations: 85.59 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.147, allocations: 4.703 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.147, allocations: 8.906 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.147, allocations: 2.156 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/1.147, allocations: 40.17 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/1.148, allocations: 430.2 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/1.148, allocations: 50 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/1.148, allocations: 16.62 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.148, allocations: 3.938 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.148, allocations: 33.2 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.148, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/1.148, allocations: 64.98 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.148, allocations: 79.06 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.148, allocations: 153.6 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/1.148, allocations: 31.25 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/1.148, allocations: 102.5 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.649e-06/1.148, allocations: 14.41 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/1.148, allocations: 18.25 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.148, allocations: 319.2 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/1.148, allocations: 9.031 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/1.148, allocations: 23.33 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/1.148, allocations: 22.97 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.148, allocations: 1.188 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.195e-05/1.149, allocations: 62 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.149, allocations: 9.156 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.149, allocations: 4.547 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.149, allocations: 1.125 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/1.149, allocations: 6.734 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.149, allocations: 0.6562 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/1.149, allocations: 5.906 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/1.149, allocations: 1.938 kB / 1.091 GB, free: 2.703 MB / 0.8575 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 6.327e-05/1.149, allocations: 114.6 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/1.149, allocations: 8.578 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.149, allocations: 24.91 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.149, allocations: 0 / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.149, allocations: 5.328 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.149, allocations: 0.7812 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/1.149, allocations: 467 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.149, allocations: 1.953 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/1.149, allocations: 6.672 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.149, allocations: 5.344 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.149, allocations: 1.312 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.149, allocations: 0.75 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.149, allocations: 5.281 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.234e-05/1.149, allocations: 79.34 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.149, allocations: 91 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.149, allocations: 1.922 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/1.149, allocations: 5.5 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/1.15, allocations: 5.984 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.15, allocations: 1.188 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.352e-05/1.15, allocations: 123.8 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.15, allocations: 0 / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002046/1.15, allocations: 7.188 kB / 1.092 GB, free: 1.777 MB / 0.8575 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.000107/1.15, allocations: 97.98 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/1.15, allocations: 24.66 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.15, allocations: 0 / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/1.15, allocations: 8.781 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/1.15, allocations: 10.81 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/1.151, allocations: 164.4 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/1.151, allocations: 0.6974 MB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.515e-05/1.151, allocations: 6.719 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/1.151, allocations: 11.47 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.151, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.003184/1.154, allocations: 461.1 kB / 1.094 GB, free: 16.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches