Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 183.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 97.91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 10.38 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4455, allocations: 131.4 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.4459, allocations: 67.95 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003075/0.449, allocations: 1.165 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4491, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.4491, allocations: 4 kB / 1.03 GB, free: 11.11 MB / 0.6823 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.0004734/0.4496, allocations: 375.1 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4496, allocations: 8.031 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.4497, allocations: 11.84 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.4499, allocations: 182.8 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.4499, allocations: 8 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.45, allocations: 8 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4502, allocations: 93.56 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4502, allocations: 4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4502, allocations: 7.984 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4502, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4503, allocations: 39.92 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.4511, allocations: 464.5 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.4512, allocations: 37.34 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.4512, allocations: 0 / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4512, allocations: 42.55 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.4512, allocations: 0 / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.4514, allocations: 53.61 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4515, allocations: 77.11 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4517, allocations: 157.3 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4517, allocations: 29.7 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.4518, allocations: 107.9 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.4518, allocations: 16.03 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.4518, allocations: 0 / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.452, allocations: 322.8 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.452, allocations: 8 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.452, allocations: 17.72 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.4521, allocations: 12 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4521, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.4522, allocations: 73.48 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4522, allocations: 4 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4523, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4523, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.4524, allocations: 8 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4524, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.4524, allocations: 4.656 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4524, allocations: 7.938 kB / 1.032 GB, free: 8.727 MB / 0.6823 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 0.000134/0.4526, allocations: 113.8 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.4527, allocations: 23.77 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.4527, allocations: 12.56 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4527, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.4527, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4528, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.4533, allocations: 482.8 kB / 1.032 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4534, allocations: 0 / 1.032 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.4534, allocations: 12.06 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4534, allocations: 0 / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4534, allocations: 3.984 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4534, allocations: 4 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4534, allocations: 3.938 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.4536, allocations: 87.58 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4537, allocations: 93.03 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4537, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/0.4538, allocations: 4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.4538, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4538, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001428/0.454, allocations: 128.9 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.454, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002214/0.4542, allocations: 15.84 kB / 1.033 GB, free: 7.645 MB / 0.6823 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.0002565/0.4545, allocations: 107.2 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.4546, allocations: 19.94 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4546, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.4546, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.4548, allocations: 11.95 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.4556, allocations: 202.1 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.4562, allocations: 0.6965 MB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.4562, allocations: 12.42 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.4563, allocations: 11.44 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.4563, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of Templates: time 0.003016/0.4593, allocations: 451.8 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches