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.001518/0.001518, allocations: 112.1 kB / 16.41 MB, free: 6.008 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.001913/0.001913, allocations: 185 kB / 17.34 MB, free: 5.629 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.21 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.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8484, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001891/0.8503, allocations: 0.8202 MB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.8505, allocations: 48.41 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.8505, allocations: 1.594 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.8506, allocations: 9.797 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.8506, allocations: 5.891 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.421e-05/0.8507, allocations: 15.84 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.8508, allocations: 66.77 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.851, allocations: 37.98 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.851, allocations: 25.78 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.8511, allocations: 29.66 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.8511, allocations: 7.156 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.8512, allocations: 5.156 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.8512, allocations: 21.08 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.8512, allocations: 28.64 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8514, allocations: 74.11 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.8514, allocations: 5.688 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8514, allocations: 0 / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8514, allocations: 3.938 kB / 1.09 GB, free: 4.793 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.0004063/0.8518, allocations: 377 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8519, allocations: 9.031 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.8519, allocations: 13.77 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.8521, allocations: 196.2 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8521, allocations: 7.688 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.8521, allocations: 13.62 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.8523, allocations: 87.09 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.8523, allocations: 192 / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.8523, allocations: 9.5 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8523, allocations: 1.844 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.8524, allocations: 35.8 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.8529, allocations: 438.1 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.853, allocations: 41.48 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.853, allocations: 20.39 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.853, allocations: 1.797 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.8531, allocations: 39.72 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.8531, allocations: 3.984 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.8532, allocations: 57.86 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.8533, allocations: 78.36 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.8534, allocations: 158.1 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.8534, allocations: 25.7 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.8535, allocations: 108.7 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.8535, allocations: 9.844 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.8535, allocations: 17.45 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.8536, allocations: 316.2 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.8536, allocations: 8.672 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.8536, allocations: 22.73 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.8537, allocations: 22.81 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8537, allocations: 5.031 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.691e-05/0.8538, allocations: 62.2 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8538, allocations: 4.781 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8538, allocations: 4.844 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8538, allocations: 1.891 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.8539, allocations: 6.406 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8539, allocations: 3.984 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.8539, allocations: 10.53 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.854, allocations: 1.516 kB / 1.092 GB, free: 2.723 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 5.274e-05/0.854, allocations: 119 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.8541, allocations: 8.375 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.8541, allocations: 16.56 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8541, allocations: 1.859 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8541, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8541, allocations: 1.375 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.8544, allocations: 474 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8544, allocations: 1.125 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.8545, allocations: 4.172 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8545, allocations: 5.062 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.8545, allocations: 0 / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8545, allocations: 1.922 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8545, allocations: 1.375 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.8546, allocations: 88.17 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.8546, allocations: 90.7 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.8546, allocations: 1.094 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.8546, allocations: 1.734 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.8547, allocations: 1.062 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8547, allocations: 1.625 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.8548, allocations: 120.7 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8548, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001871/0.855, allocations: 10.69 kB / 1.093 GB, free: 1.805 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.000117/0.8551, allocations: 105.7 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.8552, allocations: 21.16 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.8552, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.8552, allocations: 7.938 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.8554, allocations: 13.5 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.8557, allocations: 193.2 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.8559, allocations: 0.6917 MB / 1.094 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.8559, allocations: 11.62 kB / 1.094 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8559, allocations: 1.156 kB / 1.094 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.002586/0.8585, allocations: 0.8647 MB / 1.095 GB, free: 16.72 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/jenkins1/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