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.46/2.46, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001208/0.001208, allocations: 183.8 kB / 0.4902 GB, free: 2.289 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.683/1.683, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.001166/0.001166, allocations: 116.3 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004212, allocations: 14.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3267, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5239, allocations: 149.6 MB / 1.375 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5242, allocations: 59.97 kB / 1.375 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002436/0.5267, allocations: 1.083 MB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5267, allocations: 0 / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5267, allocations: 4 kB / 1.376 GB, free: 2.73 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.000344/0.527, allocations: 368.1 kB / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5271, allocations: 12.03 kB / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.5271, allocations: 15.8 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.5273, allocations: 178.8 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5273, allocations: 8 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.5273, allocations: 4 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5275, allocations: 93.27 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5275, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5275, allocations: 4 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5276, allocations: 0 / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.5276, allocations: 43.91 kB / 1.377 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.5282, allocations: 460.4 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.5283, allocations: 37.41 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.5283, allocations: 4 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.5283, allocations: 34.56 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5283, allocations: 0 / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.5285, allocations: 53.53 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5286, allocations: 81.11 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.5287, allocations: 152.6 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5288, allocations: 25.7 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.5288, allocations: 100 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.5289, allocations: 8.094 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.5289, allocations: 4 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.529, allocations: 322.8 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.529, allocations: 8 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.529, allocations: 17.72 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.5291, allocations: 9.547 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5291, allocations: 0 / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.252e-05/0.5292, allocations: 69.56 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5292, allocations: 4 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5292, allocations: 0 / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5292, allocations: 0 / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.5293, allocations: 12 kB / 1.378 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5293, allocations: 3.984 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.5294, allocations: 11.84 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.5294, allocations: 4 kB / 1.378 GB, free: 396 kB / 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 8.456e-05/0.5295, allocations: 114.6 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.5295, allocations: 11.94 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.5295, allocations: 11.88 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5295, allocations: 0 / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5296, allocations: 0 / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5296, allocations: 0 / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.53, allocations: 474.8 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.53, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.53, allocations: 4 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.53, allocations: 4.062 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.53, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.53, allocations: 7.938 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.53, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.095e-05/0.5301, allocations: 91.56 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.5302, allocations: 89.05 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.5302, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.5302, allocations: 3.984 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.5303, allocations: 3.938 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.5303, allocations: 4 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.734e-05/0.5304, allocations: 123.2 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5304, allocations: 0 / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001729/0.5306, allocations: 11.95 kB / 1.379 GB, free: 15.34 MB / 0.8855 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.0001585/0.5307, allocations: 103.2 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.5308, allocations: 15.94 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5308, allocations: 4 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.5308, allocations: 8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.531, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.5313, allocations: 194.7 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5316, allocations: 0.6965 MB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.5316, allocations: 4.438 kB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.5317, allocations: 11.44 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5317, allocations: 4 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.002284/0.534, allocations: 420 kB / 1.381 GB, free: 13.82 MB / 0.8855 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