Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 15.98 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8373, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00127/0.8386, allocations: 0.52 MB / 1.021 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.8388, allocations: 47.78 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.8388, allocations: 4 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.8389, allocations: 7.922 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.839, allocations: 3.938 kB / 1.021 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.584e-05/0.839, allocations: 15.98 kB / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.8391, allocations: 31.97 kB / 1.021 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.8393, allocations: 36.14 kB / 1.021 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.8394, allocations: 19.86 kB / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.8394, allocations: 19.86 kB / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.8395, allocations: 0 / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.8395, allocations: 4 kB / 1.022 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.8395, allocations: 11.88 kB / 1.022 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.8395, allocations: 33.64 kB / 1.022 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.8396, allocations: 55.88 kB / 1.022 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8396, allocations: 4 kB / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8396, allocations: 0 / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8396, allocations: 0 / 1.022 GB, free: 300 kB / 0.7637 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.0004871/0.8401, allocations: 365.1 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8402, allocations: 11.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.8402, allocations: 15.8 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.8405, allocations: 186.9 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8405, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.8405, allocations: 16 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.8407, allocations: 92.81 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8408, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.8408, allocations: 7.938 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.8408, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.8409, allocations: 39.91 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.8415, allocations: 436.6 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.8416, allocations: 37.34 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.8416, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.8417, allocations: 38.56 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8417, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002343/0.8419, allocations: 61.55 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.842, allocations: 77.11 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.8422, allocations: 159.9 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.8423, allocations: 29.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.8424, allocations: 103.9 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.8424, allocations: 7.844 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.8424, allocations: 4.25 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.8426, allocations: 318.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.8426, allocations: 7.984 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.8427, allocations: 21.66 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.8427, allocations: 8 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8427, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.859e-05/0.8428, allocations: 61.62 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.8428, allocations: 8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8428, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.8429, allocations: 3.938 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.843, allocations: 11.95 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.843, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.843, allocations: 3.938 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.843, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 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.0001345/0.8432, allocations: 113.8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.8432, allocations: 11.92 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.8433, allocations: 15.88 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8433, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.8433, allocations: 3.953 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8433, allocations: 8.078 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.8438, allocations: 462.7 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8438, allocations: 7.938 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.8439, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8439, allocations: 8.062 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.8439, allocations: 3.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8439, allocations: 3.984 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8439, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.844, allocations: 87.56 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.8441, allocations: 96.98 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.8441, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.8442, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.8442, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.8442, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000115/0.8443, allocations: 121.9 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8443, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001965/0.8445, allocations: 11.94 kB / 1.025 GB, free: 12.89 MB / 0.7794 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.0001917/0.8447, allocations: 99.25 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.8448, allocations: 19.92 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8449, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.8449, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.845, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.8455, allocations: 182.8 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.846, allocations: 0.6965 MB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.846, allocations: 8.422 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.8461, allocations: 11.44 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8461, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.003126/0.8492, allocations: 418.3 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches