Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001159/0.001159, allocations: 180 kB / 0.4902 GB, free: 2.234 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.654/1.654, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.0009182/0.000918, allocations: 103.4 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 10.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4832, allocations: 149.6 MB / 1.375 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.4835, allocations: 71.89 kB / 1.375 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002469/0.4859, allocations: 1.087 MB / 1.376 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.225e-06/0.486, allocations: 0 / 1.376 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.486, allocations: 0 / 1.376 GB, free: 2.777 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.000367/0.4864, allocations: 364.1 kB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4864, allocations: 8.031 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.4865, allocations: 19.8 kB / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4866, allocations: 182.8 kB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4866, allocations: 12 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4867, allocations: 4 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4868, allocations: 88.48 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.4869, allocations: 3.984 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4869, allocations: 8 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4869, allocations: 0 / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.487, allocations: 39.92 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.4876, allocations: 448.7 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.4876, allocations: 41.09 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.4877, allocations: 4.125 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4877, allocations: 34.55 kB / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.4877, allocations: 0 / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.4879, allocations: 53.55 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4879, allocations: 81.05 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4881, allocations: 148.9 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.4881, allocations: 29.7 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.4882, allocations: 100 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.4882, allocations: 11.84 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.4882, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4883, allocations: 322.8 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.4883, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.4884, allocations: 25.7 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.4884, allocations: 17.55 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4884, allocations: 0 / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.493e-05/0.4885, allocations: 61.55 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4885, allocations: 4 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4885, allocations: 3.984 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4885, allocations: 0 / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.4886, allocations: 11.94 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4886, allocations: 0 / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.4887, allocations: 7.906 kB / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4887, allocations: 8 kB / 1.378 GB, free: 448 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.313e-05/0.4888, allocations: 119.6 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.4888, allocations: 7.906 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.4888, allocations: 11.86 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4889, allocations: 4 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4889, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4889, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.4892, allocations: 470.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4893, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.4893, allocations: 4 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4893, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.4893, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4893, allocations: 3.938 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4893, allocations: 4 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.679e-05/0.4894, allocations: 95.62 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.4895, allocations: 93 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4895, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.4895, allocations: 4 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.4896, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4896, allocations: 4 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.4897, allocations: 119.3 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4897, allocations: 4 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001774/0.4898, allocations: 7.953 kB / 1.379 GB, free: 15.39 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.0001232/0.49, allocations: 111.1 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.4901, allocations: 15.98 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4901, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.4901, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.4902, allocations: 12.19 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.4906, allocations: 182.5 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4909, allocations: 0.7004 MB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.4909, allocations: 8.422 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.491, allocations: 11.44 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.491, allocations: 0 / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.002443/0.4934, allocations: 419.9 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches