Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 168.9 kB / 316.3 MB, free: 3.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.421/1.421, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008899/0.0008899, allocations: 92.5 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.354e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1715, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6366/0.8081, allocations: 131.6 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.8085, allocations: 70.39 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002643/0.8111, allocations: 1.148 MB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8111, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8112, allocations: 4 kB / 1.015 GB, free: 5.109 MB / 0.6355 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.0003187/0.8115, allocations: 364.9 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.8115, allocations: 12.02 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.8116, allocations: 15.84 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.8118, allocations: 182.5 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.8118, allocations: 4 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.8118, allocations: 4 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.279e-05/0.8119, allocations: 30.19 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.812, allocations: 83.33 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.812, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.8121, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8121, allocations: 4 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.8125, allocations: 412.3 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.8126, allocations: 40.66 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.8126, allocations: 21.33 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.8127, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.8127, allocations: 41.3 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8127, allocations: 0 / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.8128, allocations: 44.86 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.8129, allocations: 77.11 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.813, allocations: 125 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.813, allocations: 25.7 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.8131, allocations: 114.3 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.8131, allocations: 7.891 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.8131, allocations: 4.062 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8132, allocations: 318.3 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.8132, allocations: 7.5 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.8133, allocations: 19.44 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.8133, allocations: 11.23 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8133, allocations: 4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.733e-05/0.8134, allocations: 59.66 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.8134, allocations: 5.406 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8134, allocations: 2.125 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.8134, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.8135, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8135, allocations: 3.984 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.8135, allocations: 11.78 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.8136, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 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.611e-05/0.8136, allocations: 101 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.8137, allocations: 12.02 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.8137, allocations: 11.36 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.8137, allocations: 7.828 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8137, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.8137, allocations: 3.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.8141, allocations: 450.8 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8141, allocations: 96 / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.8141, allocations: 8.062 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.8141, allocations: 3.984 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8141, allocations: 7.984 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8141, allocations: 4.625 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8141, allocations: 0.7812 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.844e-05/0.8142, allocations: 86.7 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.8143, allocations: 89.12 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.8143, allocations: 0 / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.8143, allocations: 0 / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.8143, allocations: 4 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8144, allocations: 4 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.8144, allocations: 104.1 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8144, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001723/0.8146, allocations: 12 kB / 1.018 GB, free: 2.012 MB / 0.6355 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 9.736e-05/0.8147, allocations: 102.9 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.8148, allocations: 15.75 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8148, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.8148, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.8149, allocations: 7.391 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.8151, allocations: 111.5 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.8154, allocations: 0.7004 MB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.8154, allocations: 8.391 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.8154, allocations: 7.438 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.8154, allocations: 3.938 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Templates: time 0.00191/0.8174, allocations: 319.6 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches