Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 196.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 68.14 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6735, allocations: 151.6 MB / 1.017 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00249/0.6761, allocations: 0.8995 MB / 1.018 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.6762, allocations: 39.8 kB / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.6763, allocations: 4 kB / 1.018 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.6764, allocations: 7.922 kB / 1.018 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.6765, allocations: 11.92 kB / 1.018 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.79e-05/0.6766, allocations: 12 kB / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.6767, allocations: 55.84 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.6768, allocations: 35.97 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.6769, allocations: 31.86 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.677, allocations: 23.8 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.677, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.677, allocations: 4 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.677, allocations: 19.92 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.6771, allocations: 23.81 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.6772, allocations: 57.98 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6772, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6772, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6772, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 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.0004802/0.6777, allocations: 387.2 kB / 1.019 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6777, allocations: 11.98 kB / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.6778, allocations: 12.78 kB / 1.019 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.678, allocations: 196.1 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.678, allocations: 4.375 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.6781, allocations: 8.375 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.6782, allocations: 94.2 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6783, allocations: 8.188 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6783, allocations: 3.938 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6783, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.6784, allocations: 39.92 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.679, allocations: 432.6 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.6791, allocations: 45.28 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.6791, allocations: 17.84 kB / 1.02 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.6791, allocations: 3.984 kB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6791, allocations: 34.56 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.6792, allocations: 0 / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.6794, allocations: 69.38 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6794, allocations: 77.11 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.6796, allocations: 162.2 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6796, allocations: 25.7 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.6797, allocations: 99.98 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.6797, allocations: 7.891 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.6798, allocations: 21.66 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6799, allocations: 327.1 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.6799, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.6799, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.68, allocations: 21.72 kB / 1.021 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.68, allocations: 4 kB / 1.021 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.6801, allocations: 65.53 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6801, allocations: 8 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6801, allocations: 7.875 kB / 1.021 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6802, allocations: 0 / 1.021 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.6802, allocations: 8 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6803, allocations: 0 / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.6803, allocations: 3.906 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6803, allocations: 4 kB / 1.021 GB, free: 15.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/0.6804, allocations: 117.8 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.6805, allocations: 11.97 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.6805, allocations: 11.81 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6805, allocations: 3.938 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6805, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6805, allocations: 3.938 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.6809, allocations: 462.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6809, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.681, allocations: 12.05 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.681, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.681, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.681, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.681, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.735e-05/0.6811, allocations: 81.84 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.6811, allocations: 88.94 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.6812, allocations: 8.031 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.6812, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.6812, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.6812, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.6813, allocations: 121.7 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6813, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001902/0.6815, allocations: 8 kB / 1.022 GB, free: 14.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.6816, allocations: 103.2 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.6817, allocations: 19.98 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6817, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.6818, allocations: 7.938 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.6819, allocations: 11.94 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.6823, allocations: 214.4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6825, allocations: 0.6926 MB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.6825, allocations: 11.44 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.6826, allocations: 0 / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002283/0.6848, allocations: 0.8522 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches