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.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.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.006504/0.006504, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001257/0.001257, allocations: 199.2 kB / 16.68 MB, free: 5.953 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.513/1.513, allocations: 222.9 MB / 240.3 MB, free: 15.11 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.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002861/1.084, allocations: 0.8156 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/1.084, allocations: 36.97 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/1.084, allocations: 4.969 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/1.084, allocations: 14.56 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/1.084, allocations: 9.328 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.094e-05/1.084, allocations: 20.5 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/1.084, allocations: 58.61 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/1.084, allocations: 45.39 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/1.085, allocations: 30.42 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/1.085, allocations: 29.86 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/1.085, allocations: 6.219 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/1.085, allocations: 6.562 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/1.085, allocations: 12.17 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/1.085, allocations: 32.5 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/1.085, allocations: 82.11 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/1.085, allocations: 4.703 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/1.085, allocations: 0 / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.879e-06/1.085, allocations: 0.875 kB / 1.089 GB, free: 4.781 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.0006281/1.086, allocations: 373.8 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/1.086, allocations: 10.09 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/1.086, allocations: 13.19 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/1.086, allocations: 192.4 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.086, allocations: 7.531 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/1.086, allocations: 9.547 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.086, allocations: 98.81 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.086, allocations: 192 / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/1.086, allocations: 4.812 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.086, allocations: 2.75 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/1.086, allocations: 40.03 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/1.087, allocations: 433.5 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/1.087, allocations: 46.36 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/1.087, allocations: 24.61 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/1.087, allocations: 0 / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.087, allocations: 40.92 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.087, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/1.087, allocations: 56.66 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.087, allocations: 78.02 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.087, allocations: 161.3 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/1.088, allocations: 25.7 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/1.088, allocations: 108.5 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/1.088, allocations: 5.625 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/1.088, allocations: 21.84 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.088, allocations: 324.2 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/1.088, allocations: 7.984 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/1.088, allocations: 15.44 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/1.088, allocations: 31.92 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.088, allocations: 4 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.376e-05/1.088, allocations: 57.31 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.088, allocations: 5.688 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.088, allocations: 5.062 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.088, allocations: 1.062 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-05/1.088, allocations: 6.703 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.088, allocations: 0.75 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/1.088, allocations: 6.062 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/1.088, allocations: 1.156 kB / 1.091 GB, free: 2.711 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.139e-05/1.088, allocations: 120 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/1.088, allocations: 7.625 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/1.088, allocations: 17.25 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.088, allocations: 1.094 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.088, allocations: 0 / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.088, allocations: 1.797 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.089, allocations: 474.2 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.089, allocations: 0.9375 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/1.089, allocations: 3.641 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.089, allocations: 1.641 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/1.089, allocations: 0 / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.089, allocations: 5.547 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.089, allocations: 4.906 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.492e-05/1.089, allocations: 80.38 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/1.089, allocations: 94.78 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/1.089, allocations: 1.859 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/1.089, allocations: 1.062 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/1.089, allocations: 1.766 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/1.089, allocations: 1.156 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001015/1.089, allocations: 119.6 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.089, allocations: 0 / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001945/1.089, allocations: 7.656 kB / 1.092 GB, free: 1.797 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.0001476/1.089, allocations: 102 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.089, allocations: 24.45 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.089, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/1.089, allocations: 8.672 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/1.09, allocations: 14.09 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/1.09, allocations: 169 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/1.09, allocations: 0.6964 MB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.02e-05/1.09, allocations: 10.7 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/1.09, allocations: 11.53 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.09, allocations: 0 / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of Templates: time 0.003073/1.094, allocations: 462.2 kB / 1.094 GB, free: 0.7305 MB / 0.8575 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/jenkins/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