Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 183.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 0.7949 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 96.33 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 9.938 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.4967, allocations: 148.8 MB / 1.368 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.497, allocations: 71.95 kB / 1.368 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002613/0.4997, allocations: 1.087 MB / 1.369 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4997, allocations: 0 / 1.369 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.4997, allocations: 0 / 1.369 GB, free: 3.41 MB / 0.8698 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.0003577/0.5001, allocations: 369.1 kB / 1.37 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5001, allocations: 8.031 kB / 1.37 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.5002, allocations: 15.86 kB / 1.37 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5003, allocations: 182.8 kB / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5004, allocations: 4 kB / 1.37 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.5004, allocations: 8 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.5005, allocations: 89.33 kB / 1.37 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5006, allocations: 3.984 kB / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5006, allocations: 7.938 kB / 1.37 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5006, allocations: 4 kB / 1.37 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.5007, allocations: 39.92 kB / 1.37 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.5014, allocations: 444.5 kB / 1.37 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.5015, allocations: 45.27 kB / 1.37 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5015, allocations: 0 / 1.37 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.5015, allocations: 38.69 kB / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.5015, allocations: 4 kB / 1.371 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.5017, allocations: 49.55 kB / 1.371 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5018, allocations: 77.11 kB / 1.371 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.502, allocations: 151.4 kB / 1.371 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.502, allocations: 25.7 kB / 1.371 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5021, allocations: 104 kB / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5022, allocations: 11.89 kB / 1.371 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5022, allocations: 0 / 1.371 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5023, allocations: 319.1 kB / 1.371 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.5024, allocations: 11.98 kB / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.5024, allocations: 17.72 kB / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.5024, allocations: 11.95 kB / 1.371 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5024, allocations: 0 / 1.371 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.5026, allocations: 61.53 kB / 1.371 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5026, allocations: 12 kB / 1.371 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5026, allocations: 4 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5026, allocations: 0 / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.5027, allocations: 4 kB / 1.371 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5028, allocations: 4 kB / 1.371 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.5028, allocations: 7.844 kB / 1.371 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.5028, allocations: 4 kB / 1.371 GB, free: 1.078 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5029, allocations: 119.5 kB / 1.371 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.503, allocations: 7.906 kB / 1.371 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.503, allocations: 15.86 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.503, allocations: 0 / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.503, allocations: 4 kB / 1.372 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5031, allocations: 0 / 1.372 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.5035, allocations: 470.8 kB / 1.372 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5036, allocations: 3.938 kB / 1.372 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.5036, allocations: 4 kB / 1.372 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5036, allocations: 0 / 1.372 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.5036, allocations: 8.047 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5036, allocations: 7.922 kB / 1.372 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5036, allocations: 0 / 1.372 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5038, allocations: 91.58 kB / 1.372 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.5039, allocations: 85 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5039, allocations: 8.031 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.5039, allocations: 0 / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.5039, allocations: 0 / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.5039, allocations: 0 / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001345/0.5041, allocations: 124.9 kB / 1.372 GB, free: 32 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5041, allocations: 0 / 1.372 GB, free: 32 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002097/0.5043, allocations: 15.86 kB / 1.372 GB, free: 16 kB / 0.8698 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 (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.0002552/0.5046, allocations: 103 kB / 1.372 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.5047, allocations: 23.92 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5047, allocations: 0 / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.5047, allocations: 4 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.5049, allocations: 8 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.5054, allocations: 186.8 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5058, allocations: 0.6975 MB / 1.373 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.5059, allocations: 12.5 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5059, allocations: 11.44 kB / 1.373 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.5059, allocations: 0 / 1.373 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.002725/0.5086, allocations: 411.9 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches