Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001248/0.001248, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009256/0.0009258, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.484e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.461, allocations: 149.6 MB / 1.365 GB, free: 4.449 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/1.461, allocations: 65.59 kB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002847/1.464, allocations: 1.096 MB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/1.464, allocations: 0 / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.464, allocations: 4 kB / 1.366 GB, free: 3.445 MB / 0.823 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.0003823/1.465, allocations: 346.5 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.465, allocations: 12.03 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/1.465, allocations: 15.86 kB / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/1.465, allocations: 181.7 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.465, allocations: 4 kB / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/1.465, allocations: 7.438 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/1.465, allocations: 91.17 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.465, allocations: 0 / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.465, allocations: 11.06 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.465, allocations: 0 / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/1.465, allocations: 40.81 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/1.466, allocations: 446.2 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.751e-05/1.466, allocations: 45.03 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.013e-05/1.466, allocations: 20.84 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/1.466, allocations: 0 / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.466, allocations: 30.56 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.466, allocations: 0 / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000186/1.466, allocations: 56.16 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.466, allocations: 77.11 kB / 1.367 GB, free: 1.969 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/1.467, allocations: 147.1 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.467, allocations: 27.67 kB / 1.367 GB, free: 1.805 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/1.467, allocations: 102.5 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/1.467, allocations: 7.344 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.467, allocations: 0 / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.467, allocations: 326.3 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/1.467, allocations: 15.25 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/1.467, allocations: 16.84 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/1.467, allocations: 8 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.467, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/1.467, allocations: 55.91 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.467, allocations: 11.94 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.467, allocations: 4.062 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.467, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/1.467, allocations: 4 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.467, allocations: 7.984 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/1.467, allocations: 11.78 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.467, allocations: 4 kB / 1.368 GB, free: 1.246 MB / 0.823 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 8.454e-05/1.468, allocations: 105.2 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/1.468, allocations: 11.89 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/1.468, allocations: 15.53 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.468, allocations: 4 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.468, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.468, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/1.468, allocations: 472.5 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.468, allocations: 4 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/1.468, allocations: 7.984 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.468, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.468, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/1.468, allocations: 12 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.468, allocations: 0 / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/1.468, allocations: 90.64 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/1.468, allocations: 89.09 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/1.468, allocations: 0 / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/1.468, allocations: 8.016 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/1.469, allocations: 7.5 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/1.469, allocations: 0 / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000103/1.469, allocations: 126.4 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.469, allocations: 0 / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001669/1.469, allocations: 4 kB / 1.369 GB, free: 244 kB / 0.823 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.0001524/1.469, allocations: 102.8 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000101/1.469, allocations: 23.11 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.469, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/1.469, allocations: 8 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/1.469, allocations: 3.328 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/1.47, allocations: 105.3 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.47, allocations: 0.7045 MB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.4e-05/1.47, allocations: 8.422 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/1.47, allocations: 11.44 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/1.47, allocations: 0 / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.002377/1.472, allocations: 420 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches