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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001498/0.001498, allocations: 103.7 kB / 15.78 MB, free: 5.98 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.001522/0.001522, allocations: 200.9 kB / 16.72 MB, free: 5.836 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.586/1.586, allocations: 225.6 MB / 243.1 MB, free: 3.703 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 489.4 MB / 0.7669 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.115 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337/1.339, allocations: 172 MB / 1.283 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002726/1.342, allocations: 0.828 MB / 1.284 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000151/1.342, allocations: 40.02 kB / 1.284 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/1.342, allocations: 2.469 kB / 1.284 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.412e-05/1.342, allocations: 9.75 kB / 1.284 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/1.342, allocations: 6.141 kB / 1.284 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.459e-05/1.342, allocations: 20.05 kB / 1.284 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/1.343, allocations: 63.02 kB / 1.284 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/1.343, allocations: 35.31 kB / 1.284 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/1.343, allocations: 31.23 kB / 1.284 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/1.343, allocations: 33.09 kB / 1.284 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/1.343, allocations: 6.531 kB / 1.284 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/1.343, allocations: 6.469 kB / 1.284 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/1.343, allocations: 12.16 kB / 1.284 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/1.343, allocations: 36.75 kB / 1.284 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/1.343, allocations: 75.56 kB / 1.284 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.343, allocations: 1.406 kB / 1.284 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/1.343, allocations: 0 / 1.284 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.343, allocations: 0 / 1.284 GB, free: 4.57 MB / 0.9981 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.0005906/1.344, allocations: 385.3 kB / 1.284 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.344, allocations: 8.656 kB / 1.284 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/1.344, allocations: 17.72 kB / 1.284 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/1.344, allocations: 192.8 kB / 1.284 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.344, allocations: 11.61 kB / 1.284 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/1.344, allocations: 9.156 kB / 1.284 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.344, allocations: 91.89 kB / 1.285 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.344, allocations: 4.188 kB / 1.285 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.345, allocations: 6.062 kB / 1.285 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.345, allocations: 1.719 kB / 1.285 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/1.345, allocations: 40.58 kB / 1.285 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/1.345, allocations: 429.3 kB / 1.285 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.905e-05/1.345, allocations: 49.83 kB / 1.285 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/1.345, allocations: 20.11 kB / 1.285 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/1.345, allocations: 1.312 kB / 1.285 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/1.345, allocations: 36.61 kB / 1.285 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.345, allocations: 0 / 1.285 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002175/1.346, allocations: 61.25 kB / 1.285 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/1.346, allocations: 77.11 kB / 1.285 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/1.346, allocations: 161.3 kB / 1.285 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.346, allocations: 25.7 kB / 1.285 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/1.346, allocations: 111.1 kB / 1.286 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/1.346, allocations: 6.062 kB / 1.286 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/1.346, allocations: 22.27 kB / 1.286 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.346, allocations: 323.6 kB / 1.286 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/1.346, allocations: 4.984 kB / 1.286 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/1.346, allocations: 20.23 kB / 1.286 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/1.346, allocations: 22.45 kB / 1.286 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.346, allocations: 0 / 1.286 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/1.347, allocations: 61.48 kB / 1.286 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.347, allocations: 10.27 kB / 1.286 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.347, allocations: 5.25 kB / 1.286 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.347, allocations: 0 / 1.286 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/1.347, allocations: 6.562 kB / 1.286 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.347, allocations: 1.438 kB / 1.286 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/1.347, allocations: 6.688 kB / 1.286 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.347, allocations: 2.109 kB / 1.286 GB, free: 2.484 MB / 0.9981 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.227e-05/1.347, allocations: 113.2 kB / 1.286 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/1.347, allocations: 11.98 kB / 1.286 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/1.347, allocations: 20.69 kB / 1.286 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.347, allocations: 1.312 kB / 1.286 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.347, allocations: 1.312 kB / 1.286 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.347, allocations: 0.5625 kB / 1.286 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/1.347, allocations: 475.3 kB / 1.287 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.347, allocations: 0 / 1.287 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/1.347, allocations: 7.453 kB / 1.287 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.347, allocations: 5.375 kB / 1.287 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.347, allocations: 1.438 kB / 1.287 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.347, allocations: 0.6562 kB / 1.287 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.347, allocations: 1.438 kB / 1.287 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/1.348, allocations: 83.7 kB / 1.287 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/1.348, allocations: 87.05 kB / 1.287 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.348, allocations: 6.094 kB / 1.287 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/1.348, allocations: 4.031 kB / 1.287 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/1.348, allocations: 6.078 kB / 1.287 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/1.348, allocations: 1.672 kB / 1.287 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001087/1.348, allocations: 118.2 kB / 1.287 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.348, allocations: 0 / 1.287 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001818/1.348, allocations: 8.062 kB / 1.287 GB, free: 1.562 MB / 0.9981 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.0001597/1.348, allocations: 99.58 kB / 1.287 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.348, allocations: 19.7 kB / 1.287 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.348, allocations: 1.188 kB / 1.287 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/1.348, allocations: 12.52 kB / 1.287 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/1.348, allocations: 6.891 kB / 1.287 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/1.349, allocations: 163.2 kB / 1.287 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/1.349, allocations: 0.6969 MB / 1.288 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.226e-05/1.349, allocations: 11.25 kB / 1.288 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/1.349, allocations: 11.09 kB / 1.288 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.349, allocations: 0 / 1.288 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of Templates: time 0.003333/1.353, allocations: 462.4 kB / 1.288 GB, free: 0.5078 MB / 0.9981 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