Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 195 kB / 16.53 MB, free: 6.391 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.576/1.576, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.15/3.15, allocations: 482.6 MB / 0.7549 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.31 kB / 0.9241 GB, free: 29.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 162.3 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002344/0.3766, allocations: 0.8244 MB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.3767, allocations: 39.78 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3768, allocations: 4 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.3768, allocations: 11.86 kB / 1.083 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.3769, allocations: 7.938 kB / 1.083 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/0.377, allocations: 15.98 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3771, allocations: 67.78 kB / 1.084 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3773, allocations: 47.89 kB / 1.084 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.3774, allocations: 27.86 kB / 1.084 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.3774, allocations: 23.86 kB / 1.084 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3774, allocations: 4 kB / 1.084 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3775, allocations: 8 kB / 1.084 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3775, allocations: 15.92 kB / 1.084 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3775, allocations: 39.69 kB / 1.084 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3777, allocations: 68.03 kB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3777, allocations: 12 kB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3777, allocations: 0 / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3777, allocations: 0 / 1.084 GB, free: 11.72 MB / 0.8419 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.0004845/0.3782, allocations: 375.2 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3782, allocations: 12.03 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3783, allocations: 8.844 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3785, allocations: 192.2 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3785, allocations: 384 / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3786, allocations: 12.38 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3787, allocations: 97.14 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3788, allocations: 4.188 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3788, allocations: 3.938 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.3788, allocations: 7.938 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.3789, allocations: 39.92 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.3796, allocations: 440.6 kB / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.3797, allocations: 45.23 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.3797, allocations: 13.78 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.3798, allocations: 0 / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3798, allocations: 42.56 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3798, allocations: 0 / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.38, allocations: 57.47 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.3801, allocations: 77.11 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3802, allocations: 164.9 kB / 1.085 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3803, allocations: 25.7 kB / 1.085 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.3804, allocations: 108.2 kB / 1.085 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-06/0.3804, allocations: 7.906 kB / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.3804, allocations: 21.62 kB / 1.085 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3806, allocations: 318.8 kB / 1.086 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3806, allocations: 4 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.3806, allocations: 17.72 kB / 1.086 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.3807, allocations: 33.66 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3807, allocations: 0 / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.751e-05/0.3808, allocations: 61.56 kB / 1.086 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3808, allocations: 4 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3808, allocations: 3.938 kB / 1.086 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3808, allocations: 4 kB / 1.086 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.3809, allocations: 4 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3809, allocations: 0 / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.381, allocations: 11.84 kB / 1.086 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.381, allocations: 0 / 1.086 GB, free: 9.285 MB / 0.8419 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.232e-05/0.3811, allocations: 121.9 kB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3811, allocations: 7.906 kB / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.3812, allocations: 15.81 kB / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3812, allocations: 0 / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3812, allocations: 0 / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3812, allocations: 0 / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.3816, allocations: 470.8 kB / 1.086 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3816, allocations: 3.938 kB / 1.086 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.3817, allocations: 7.984 kB / 1.086 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3817, allocations: 0 / 1.086 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3817, allocations: 4 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3817, allocations: 0 / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3817, allocations: 0 / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/0.3818, allocations: 89.75 kB / 1.087 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.3819, allocations: 89 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3819, allocations: 0 / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.3819, allocations: 4 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.3819, allocations: 8 kB / 1.087 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.382, allocations: 0 / 1.087 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3821, allocations: 119.2 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3821, allocations: 0 / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001824/0.3823, allocations: 8 kB / 1.087 GB, free: 8.242 MB / 0.8419 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.0001628/0.3824, allocations: 103.8 kB / 1.087 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.3825, allocations: 19.94 kB / 1.087 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3825, allocations: 0 / 1.087 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.3825, allocations: 4 kB / 1.087 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3827, allocations: 13.66 kB / 1.087 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.383, allocations: 166.1 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3834, allocations: 0.6963 MB / 1.088 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.3834, allocations: 12.42 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3835, allocations: 11.44 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3835, allocations: 0 / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.002862/0.3863, allocations: 456.6 kB / 1.088 GB, free: 6.715 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches