Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 176.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 86.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.256e-05, allocations: 8 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6424/0.822, allocations: 131.3 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.8223, allocations: 72.02 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002725/0.825, allocations: 1.166 MB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8251, allocations: 0 / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.8251, allocations: 0 / 1.021 GB, free: 2.273 MB / 0.6355 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.000349/0.8254, allocations: 367.8 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.8255, allocations: 12.03 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.8255, allocations: 7.906 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.8257, allocations: 190.8 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.8257, allocations: 4 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.8257, allocations: 7.938 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.8259, allocations: 96.64 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.8259, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8259, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.826, allocations: 4 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.826, allocations: 48.69 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.8266, allocations: 455 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.8267, allocations: 43.78 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.8267, allocations: 13.78 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.8267, allocations: 2.625 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.8267, allocations: 34.55 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8267, allocations: 4 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.8269, allocations: 56.3 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.8269, allocations: 77.11 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.8271, allocations: 157.7 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.8271, allocations: 25.7 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.8272, allocations: 111.1 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.8272, allocations: 7.469 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.8272, allocations: 3.938 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8273, allocations: 322.4 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.8273, allocations: 10.8 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.8274, allocations: 20.66 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.8274, allocations: 7.5 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8274, allocations: 3.953 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.952e-05/0.8275, allocations: 64.91 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8275, allocations: 8.062 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8275, allocations: 4 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.8276, allocations: 0 / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.8276, allocations: 4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8276, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.8277, allocations: 7.938 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.8277, allocations: 0 / 1.023 GB, free: 36 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.8278, allocations: 112.4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.8278, allocations: 15.77 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.8279, allocations: 27.25 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8279, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8279, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8279, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.8283, allocations: 485.4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8283, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.8283, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8283, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.8283, allocations: 4.062 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8283, allocations: 4.875 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8283, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.8285, allocations: 94.31 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.8285, allocations: 88.27 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.8285, allocations: 4.031 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.618e-05/0.8286, allocations: 7.984 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.8286, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.8286, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.965e-05/0.8287, allocations: 126.6 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8287, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001611/0.8289, allocations: 8 kB / 1.024 GB, free: 15 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.829, allocations: 102.9 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.8291, allocations: 19.12 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8291, allocations: 3.938 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.8291, allocations: 7.75 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.8292, allocations: 7.5 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.8295, allocations: 110.6 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.8297, allocations: 0.7045 MB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.8298, allocations: 12.5 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.8298, allocations: 11.44 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.8298, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.002194/0.832, allocations: 453.3 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches