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.481/2.481, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001904/0.001904, allocations: 172.8 kB / 496.1 MB, free: 12.86 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.683/1.683, 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.0011/0.0011, allocations: 83.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.981e-05/4.983e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.409, allocations: 149.6 MB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.409, allocations: 61.62 kB / 1.365 GB, free: 4.359 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002725/1.412, allocations: 1.088 MB / 1.366 GB, free: 3.395 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.976e-06/1.412, allocations: 4 kB / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.412, allocations: 0 / 1.366 GB, free: 3.391 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.0004232/1.412, allocations: 353.6 kB / 1.366 GB, free: 3.008 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.412, allocations: 8.031 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/1.413, allocations: 11.86 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/1.413, allocations: 186.8 kB / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.413, allocations: 13.81 kB / 1.366 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/1.413, allocations: 6.875 kB / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/1.413, allocations: 92.72 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.413, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/1.413, allocations: 2.938 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/1.413, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.413, allocations: 38 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/1.414, allocations: 448.1 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/1.414, allocations: 43.06 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/1.414, allocations: 21.84 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/1.414, allocations: 0 / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.414, allocations: 38.3 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 3.276e-06/1.414, allocations: 3.984 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/1.414, allocations: 49.05 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.414, allocations: 77.11 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.415, allocations: 149.9 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.415, allocations: 25.7 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/1.415, allocations: 105.8 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/1.415, allocations: 7.906 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/1.415, allocations: 0 / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.415, allocations: 321.8 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/1.415, allocations: 6.812 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/1.415, allocations: 24.03 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/1.415, allocations: 11.69 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.415, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/1.415, allocations: 60.84 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.415, allocations: 4 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.415, allocations: 0 / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.415, allocations: 0 / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/1.415, allocations: 11.94 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.415, allocations: 3.984 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/1.415, allocations: 15.91 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/1.415, allocations: 0 / 1.368 GB, free: 1.188 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 5.534e-05/1.415, allocations: 108.1 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/1.415, allocations: 7.906 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/1.415, allocations: 15.03 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.415, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.415, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.415, allocations: 4 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/1.416, allocations: 475.1 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/1.416, allocations: 3.938 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/1.416, allocations: 0 / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.416, allocations: 4 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/1.416, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.416, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.416, allocations: 0.8125 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/1.416, allocations: 98.25 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/1.416, allocations: 88.39 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.416, allocations: 4 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/1.416, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/1.416, allocations: 3.984 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/1.416, allocations: 0 / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001292/1.416, allocations: 131.3 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.416, allocations: 0 / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.000169/1.416, allocations: 8 kB / 1.369 GB, free: 192 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.000177/1.417, allocations: 95.25 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.417, allocations: 21.56 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.417, allocations: 0 / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/1.417, allocations: 4 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/1.417, allocations: 8 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/1.417, allocations: 107 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.418, allocations: 0.7003 MB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.512e-05/1.418, allocations: 8.422 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/1.418, allocations: 11.44 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.418, allocations: 4 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.002229/1.42, allocations: 431.7 kB / 1.37 GB, free: 14.78 MB / 0.8386 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