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.33/2.33, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001349/0.001348, allocations: 172.9 kB / 487.4 MB, free: 5.035 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.622/1.622, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009952, allocations: 103.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.757e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.26, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8983/1.158, allocations: 148.1 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/1.159, allocations: 64.02 kB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003017/1.162, allocations: 1.087 MB / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.162, allocations: 3.844 kB / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.162, allocations: 0 / 1.352 GB, free: 34.01 MB / 0.8386 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.000297/1.162, allocations: 352.9 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.162, allocations: 8.859 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/1.162, allocations: 12.38 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.162, allocations: 179.5 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.162, allocations: 6.75 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/1.162, allocations: 7.781 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.062e-05/1.162, allocations: 35.02 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/1.163, allocations: 72.78 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.163, allocations: 1.344 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.163, allocations: 0 / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.163, allocations: 6.562 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/1.163, allocations: 415.2 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/1.163, allocations: 37.39 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/1.163, allocations: 21.91 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/1.163, allocations: 1.312 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/1.163, allocations: 36.61 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.163, allocations: 0 / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/1.163, allocations: 43.48 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/1.163, allocations: 79.17 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/1.164, allocations: 116.4 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/1.164, allocations: 27.23 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/1.164, allocations: 110 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/1.164, allocations: 5.953 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.164, allocations: 0 / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.164, allocations: 317.6 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/1.164, allocations: 3.875 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/1.164, allocations: 24.55 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/1.164, allocations: 10.05 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.164, allocations: 0 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.859e-05/1.164, allocations: 57.73 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.164, allocations: 5.859 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.164, allocations: 1.312 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.164, allocations: 0 / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/1.164, allocations: 11.62 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/1.164, allocations: 1.422 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/1.164, allocations: 9.312 kB / 1.354 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.164, allocations: 2.047 kB / 1.354 GB, free: 32.19 MB / 0.8386 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.643e-05/1.164, allocations: 102.3 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/1.164, allocations: 10.95 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/1.164, allocations: 11.06 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/1.164, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.164, allocations: 1.969 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.164, allocations: 1.281 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.165, allocations: 445.3 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.165, allocations: 1.312 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/1.165, allocations: 3.297 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.165, allocations: 2.625 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.165, allocations: 1.469 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/1.165, allocations: 0.5156 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.165, allocations: 5.188 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/1.165, allocations: 87.95 kB / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/1.165, allocations: 85.59 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/1.165, allocations: 9.641 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/1.165, allocations: 0 / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/1.165, allocations: 1.703 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/1.165, allocations: 1.375 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.585e-05/1.165, allocations: 101.2 kB / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.165, allocations: 0 / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001864/1.165, allocations: 11.66 kB / 1.354 GB, free: 31.34 MB / 0.8386 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.0001003/1.165, allocations: 97.53 kB / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/1.165, allocations: 13.97 kB / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.165, allocations: 0 / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/1.165, allocations: 7.906 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/1.166, allocations: 16.38 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/1.166, allocations: 101.2 kB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/1.166, allocations: 0.6996 MB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.763e-05/1.166, allocations: 5.109 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/1.166, allocations: 10.06 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.166, allocations: 4 kB / 1.355 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.002109/1.168, allocations: 293.1 kB / 1.356 GB, free: 30.39 MB / 0.8386 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