Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 183.7 kB / 326.5 MB, free: 2.238 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.96/1.96, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009044/0.0009044, allocations: 100.3 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003662, allocations: 10.97 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.3944, allocations: 131.4 MB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3946, allocations: 59.97 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003045/0.3977, allocations: 1.177 MB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3977, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.3978, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 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.0005097/0.3983, allocations: 374.9 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.3984, allocations: 8.25 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.3984, allocations: 11.91 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3987, allocations: 190.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3987, allocations: 8 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3987, allocations: 8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3989, allocations: 87.39 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3989, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3989, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3989, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.399, allocations: 43.92 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.3997, allocations: 464.4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.3998, allocations: 37.34 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3998, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3998, allocations: 34.56 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3998, allocations: 64 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.4, allocations: 57.55 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.4001, allocations: 81.11 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4003, allocations: 157.3 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4003, allocations: 25.7 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.4004, allocations: 107.9 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.4004, allocations: 7.844 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4004, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4005, allocations: 323.1 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.4006, allocations: 12 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.4006, allocations: 25.64 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.4006, allocations: 12 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4006, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.4007, allocations: 61.56 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4007, allocations: 4 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4008, allocations: 3.938 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4008, allocations: 4.062 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.4009, allocations: 11.98 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4009, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.4009, allocations: 4.828 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4009, allocations: 3.938 kB / 1.032 GB, free: 9.098 MB / 0.6823 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 9.036e-05/0.401, allocations: 113.8 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.4011, allocations: 15.77 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.4011, allocations: 20.48 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4011, allocations: 0 / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4011, allocations: 4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4012, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.4016, allocations: 478.8 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4016, allocations: 0 / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.4016, allocations: 7.984 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4016, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4016, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4017, allocations: 12.06 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4017, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4018, allocations: 91.52 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4019, allocations: 89 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4019, allocations: 96 / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.4019, allocations: 4 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.4019, allocations: 8.016 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.4019, allocations: 0 / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001068/0.4021, allocations: 132.9 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 0 / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001966/0.4023, allocations: 11.91 kB / 1.033 GB, free: 8.012 MB / 0.6823 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.000136/0.4024, allocations: 103.2 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.386e-05/0.4025, allocations: 19.94 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4025, allocations: 4.125 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.4025, allocations: 4 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.4027, allocations: 14.19 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.403, allocations: 198 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.4033, allocations: 0.7004 MB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.4033, allocations: 8.422 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.4034, allocations: 11.44 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4034, allocations: 0 / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of Templates: time 0.002306/0.4057, allocations: 456.2 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches