Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006099/0.006099, allocations: 103.2 kB / 15.78 MB, free: 5.977 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.001557/0.001557, allocations: 195.9 kB / 16.73 MB, free: 5.852 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.542/1.542, allocations: 225.6 MB / 243.1 MB, free: 3.746 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.4 MB / 0.7221 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.048 GB, free: 4.176 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3883, allocations: 160.7 MB / 1.205 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002241/0.3906, allocations: 0.8369 MB / 1.206 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.3907, allocations: 43.78 kB / 1.206 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.3908, allocations: 4 kB / 1.206 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.3908, allocations: 11.86 kB / 1.206 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.3909, allocations: 7.875 kB / 1.206 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.204e-05/0.391, allocations: 23.98 kB / 1.206 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3911, allocations: 55.84 kB / 1.206 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3913, allocations: 35.97 kB / 1.206 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.3913, allocations: 27.81 kB / 1.206 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.3914, allocations: 27.84 kB / 1.206 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3914, allocations: 4 kB / 1.206 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.3914, allocations: 8 kB / 1.206 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.3915, allocations: 15.94 kB / 1.206 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3915, allocations: 39.72 kB / 1.206 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3917, allocations: 67.66 kB / 1.206 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3917, allocations: 0 / 1.206 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3917, allocations: 4 kB / 1.206 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3917, allocations: 3.938 kB / 1.206 GB, free: 1.922 MB / 0.9512 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.0004978/0.3922, allocations: 387.1 kB / 1.206 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3922, allocations: 8.031 kB / 1.206 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3922, allocations: 12.84 kB / 1.206 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.3925, allocations: 192.2 kB / 1.207 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3925, allocations: 4.375 kB / 1.207 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3925, allocations: 8.375 kB / 1.207 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3927, allocations: 99.88 kB / 1.207 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3927, allocations: 192 / 1.207 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3927, allocations: 7.938 kB / 1.207 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3927, allocations: 0 / 1.207 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.3928, allocations: 35.98 kB / 1.207 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.3934, allocations: 436.7 kB / 1.207 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.3935, allocations: 37.16 kB / 1.207 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.3935, allocations: 21.86 kB / 1.207 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.3935, allocations: 0 / 1.207 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3936, allocations: 38.56 kB / 1.207 GB, free: 484 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3936, allocations: 4 kB / 1.207 GB, free: 480 kB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000177/0.3938, allocations: 53.53 kB / 1.207 GB, free: 420 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.3938, allocations: 81.05 kB / 1.207 GB, free: 320 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.394, allocations: 164 kB / 1.208 GB, free: 148 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.394, allocations: 25.7 kB / 1.208 GB, free: 116 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.3941, allocations: 100.1 kB / 1.208 GB, free: 12 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.3941, allocations: 7.953 kB / 1.208 GB, free: 4 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.3942, allocations: 29.98 kB / 1.208 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3943, allocations: 318.8 kB / 1.208 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.3943, allocations: 4 kB / 1.208 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.3944, allocations: 21.7 kB / 1.208 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.3944, allocations: 25.66 kB / 1.208 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3944, allocations: 4 kB / 1.208 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.08e-05/0.3945, allocations: 61.64 kB / 1.208 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3945, allocations: 5.562 kB / 1.208 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3945, allocations: 3.938 kB / 1.208 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3945, allocations: 7.938 kB / 1.208 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.3946, allocations: 4.094 kB / 1.208 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3946, allocations: 0 / 1.208 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.3946, allocations: 7.938 kB / 1.208 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3946, allocations: 3.984 kB / 1.208 GB, free: 15.48 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.659e-05/0.3947, allocations: 117.9 kB / 1.208 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.3948, allocations: 7.953 kB / 1.208 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3948, allocations: 19.8 kB / 1.208 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3948, allocations: 0 / 1.208 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3948, allocations: 0 / 1.208 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3948, allocations: 0 / 1.208 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.3952, allocations: 470.7 kB / 1.209 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3952, allocations: 8.062 kB / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.3953, allocations: 4 kB / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3953, allocations: 0 / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3953, allocations: 4 kB / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3953, allocations: 0 / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3953, allocations: 0 / 1.209 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3954, allocations: 85.81 kB / 1.209 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.3955, allocations: 93.08 kB / 1.209 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3955, allocations: 0 / 1.209 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3955, allocations: 0 / 1.209 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3955, allocations: 8 kB / 1.209 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3955, allocations: 0 / 1.209 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.945e-05/0.3956, allocations: 121.1 kB / 1.209 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3956, allocations: 0 / 1.209 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00019/0.3958, allocations: 8 kB / 1.209 GB, free: 14.44 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.0001322/0.3959, allocations: 99.25 kB / 1.209 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.396, allocations: 35.8 kB / 1.209 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.396, allocations: 0 / 1.209 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.396, allocations: 4 kB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3962, allocations: 7.938 kB / 1.209 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3967, allocations: 166.5 kB / 1.209 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3971, allocations: 0.7004 MB / 1.21 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3971, allocations: 4.438 kB / 1.21 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.3971, allocations: 11.44 kB / 1.21 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3971, allocations: 0 / 1.21 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.003017/0.4001, allocations: 465.1 kB / 1.211 GB, free: 12.89 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches