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.001562/0.001562, allocations: 106.4 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.001772/0.001772, allocations: 185.4 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.2 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.232/2.232, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001864/1.021, allocations: 0.8265 MB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/1.021, allocations: 40.89 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/1.021, allocations: 1.125 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/1.022, allocations: 9.609 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/1.022, allocations: 14.11 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.406e-05/1.022, allocations: 19.62 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/1.022, allocations: 59.75 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/1.022, allocations: 41.08 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/1.022, allocations: 29.73 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/1.022, allocations: 30.02 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/1.022, allocations: 6.562 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/1.022, allocations: 6.125 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/1.022, allocations: 12.83 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/1.022, allocations: 36.64 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/1.022, allocations: 74.64 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.022, allocations: 0.5625 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.022, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.022, allocations: 1.281 kB / 1.09 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.0003756/1.023, allocations: 378 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.023, allocations: 13.22 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/1.023, allocations: 12.97 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.023, allocations: 193.1 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/1.023, allocations: 7.656 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/1.023, allocations: 5.406 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.023, allocations: 91.48 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/1.023, allocations: 4.188 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.023, allocations: 5 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/1.023, allocations: 6.078 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/1.023, allocations: 40.14 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/1.024, allocations: 434.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/1.024, allocations: 48.72 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/1.024, allocations: 20.83 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/1.024, allocations: 1.031 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/1.024, allocations: 35.86 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.024, allocations: 1.125 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/1.024, allocations: 59.89 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.024, allocations: 78.88 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.024, allocations: 164.4 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/1.024, allocations: 25.7 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/1.024, allocations: 103.8 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/1.024, allocations: 9.953 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/1.024, allocations: 14.72 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/1.024, allocations: 319.8 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/1.024, allocations: 11.64 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/1.024, allocations: 16.56 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/1.025, allocations: 30.28 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.025, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.53e-05/1.025, allocations: 58.23 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.025, allocations: 5.062 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.025, allocations: 9.484 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.025, allocations: 0.9062 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/1.025, allocations: 6.656 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.025, allocations: 0.5625 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/1.025, allocations: 6.312 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/1.025, allocations: 5.344 kB / 1.092 GB, free: 2.699 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.11e-05/1.025, allocations: 115.3 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/1.025, allocations: 7.922 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/1.025, allocations: 21.12 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.025, allocations: 0.7969 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.025, allocations: 5.031 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.025, allocations: 1.125 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/1.025, allocations: 470.2 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.025, allocations: 1.859 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/1.025, allocations: 2.953 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.025, allocations: 1.281 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/1.025, allocations: 5.281 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.025, allocations: 0.6094 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.025, allocations: 1.188 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.238e-05/1.025, allocations: 80.67 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/1.025, allocations: 94.28 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/1.025, allocations: 1.609 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/1.025, allocations: 4.547 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/1.025, allocations: 5.625 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/1.025, allocations: 1.094 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.942e-05/1.026, allocations: 118.9 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000189/1.026, allocations: 7.094 kB / 1.093 GB, free: 1.781 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.0001104/1.026, allocations: 101.7 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/1.026, allocations: 24.84 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.026, allocations: 0 / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/1.026, allocations: 8.281 kB / 1.093 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.0001526/1.026, allocations: 11.94 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/1.026, allocations: 184.1 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/1.027, allocations: 0.6964 MB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/1.027, allocations: 11.78 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.027, allocations: 0 / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.002579/1.029, allocations: 0.8807 MB / 1.095 GB, free: 16.69 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