Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00476/0.00476, allocations: 101.1 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.001054/0.001054, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 72.12 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4094, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002304/0.4118, allocations: 0.8215 MB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.4119, allocations: 39.78 kB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.412, allocations: 4 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.412, allocations: 11.86 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.4121, allocations: 11.88 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.586e-05/0.4122, allocations: 15.98 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4123, allocations: 63.78 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.4125, allocations: 55.89 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.4126, allocations: 23.88 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.4126, allocations: 27.84 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4126, allocations: 4 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.4127, allocations: 12 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.4127, allocations: 11.94 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.4127, allocations: 35.73 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.4129, allocations: 79.64 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4129, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4129, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4129, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 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.0004609/0.4133, allocations: 385.4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4134, allocations: 8.625 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.4134, allocations: 12.84 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4137, allocations: 196.1 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4137, allocations: 4.375 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4137, allocations: 12.38 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4139, allocations: 87.94 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4139, allocations: 192 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.4139, allocations: 7.938 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4139, allocations: 4 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.414, allocations: 39.92 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4146, allocations: 436.6 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.4146, allocations: 37.25 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.4147, allocations: 25.77 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-06/0.4147, allocations: 0 / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4147, allocations: 34.56 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4147, allocations: 0 / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.4149, allocations: 53.48 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.415, allocations: 77.11 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.4151, allocations: 165.3 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4152, allocations: 25.7 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.4152, allocations: 112 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.4153, allocations: 3.906 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.4153, allocations: 21.61 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4154, allocations: 314.8 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.4155, allocations: 11.94 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.4155, allocations: 33.56 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.4155, allocations: 33.72 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4155, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.579e-05/0.4156, allocations: 53.62 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4156, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4157, allocations: 3.938 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4157, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.4158, allocations: 4 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4158, allocations: 4.062 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.4158, allocations: 15.84 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4158, allocations: 0 / 1.211 GB, free: 5.941 MB / 0.9669 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 9.403e-05/0.4159, allocations: 113.8 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.416, allocations: 7.906 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.416, allocations: 15.8 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.416, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.416, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.416, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.4164, allocations: 474.8 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4164, allocations: 0 / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.4164, allocations: 7.938 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4165, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.4165, allocations: 4 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4165, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4165, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.774e-05/0.4166, allocations: 85.8 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.4166, allocations: 93 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4167, allocations: 0 / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.4167, allocations: 0 / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.4167, allocations: 4 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.4167, allocations: 0 / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.4168, allocations: 123.3 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4168, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001873/0.417, allocations: 12 kB / 1.212 GB, free: 4.906 MB / 0.9669 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.0001405/0.4172, allocations: 99.19 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4173, allocations: 19.98 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4173, allocations: 0 / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.4173, allocations: 11.88 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.4175, allocations: 21.59 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.4178, allocations: 150.8 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4182, allocations: 0.6967 MB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.4182, allocations: 8.375 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.4182, allocations: 11.44 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.4183, allocations: 4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.002849/0.4211, allocations: 463 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches