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.47/1.47, allocations: 249.5 MB / 257 MB, free: 7 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.001155/0.001155, allocations: 184.6 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008455/0.0008454, allocations: 88.38 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.791e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2427, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7434/0.9862, allocations: 131.6 MB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.9865, allocations: 62.53 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002695/0.9892, allocations: 1.156 MB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9893, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9893, allocations: 0 / 1.015 GB, free: 5.172 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.0003373/0.9896, allocations: 361.8 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.9897, allocations: 12.03 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.9897, allocations: 8.656 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.9899, allocations: 186.8 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.9899, allocations: 0.875 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.99, allocations: 12 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.195e-05/0.9901, allocations: 31.56 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.9902, allocations: 84.7 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9902, allocations: 4 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.9902, allocations: 0 / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9902, allocations: 3.938 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.9908, allocations: 415.7 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.9909, allocations: 40.81 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.9909, allocations: 17.78 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.9909, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.9909, allocations: 41.22 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.9909, allocations: 3.984 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/0.9911, allocations: 49.42 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.9912, allocations: 77.11 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.9913, allocations: 126.6 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.9913, allocations: 25.7 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.9914, allocations: 115.5 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.9914, allocations: 7.844 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.9914, allocations: 0 / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9916, allocations: 314.8 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.9916, allocations: 7.875 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.9916, allocations: 24 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.9916, allocations: 11.81 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.9916, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.9917, allocations: 57.45 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9918, allocations: 8 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9918, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9918, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.9919, allocations: 4 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9919, allocations: 4.781 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.9919, allocations: 11.91 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.9919, allocations: 3.812 kB / 1.017 GB, free: 3.031 MB / 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.152e-05/0.992, allocations: 109 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.992, allocations: 3.953 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.9921, allocations: 11.92 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9921, allocations: 224 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9921, allocations: 0 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9921, allocations: 7.938 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.9925, allocations: 462.5 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9925, allocations: 0 / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.9925, allocations: 4 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9925, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.9925, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9926, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.9926, allocations: 3.938 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.9927, allocations: 95.31 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.9927, allocations: 85.09 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.9927, allocations: 3.938 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.9928, allocations: 4 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.9928, allocations: 3.875 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.9928, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.9929, allocations: 112 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9929, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001742/0.9931, allocations: 8 kB / 1.018 GB, free: 2.07 MB / 0.6355 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.000107/0.9932, allocations: 95.25 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.9932, allocations: 19 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9933, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.9933, allocations: 7.312 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.9934, allocations: 11.58 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.9936, allocations: 104.2 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.9939, allocations: 0.6963 MB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.994, allocations: 8.172 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.994, allocations: 11.44 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.764e-06/0.994, allocations: 7.938 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of Templates: time 0.001963/0.996, allocations: 318.8 kB / 1.019 GB, free: 0.7656 MB / 0.6355 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