Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.002001/0.002001, allocations: 106.8 kB / 15.99 MB, free: 6.348 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.002003/0.002004, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 76.39 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002175/0.3014, allocations: 0.8895 MB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.3015, allocations: 47.78 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.3016, allocations: 0 / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.3017, allocations: 7.922 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.329e-05/0.3017, allocations: 0 / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.84e-05/0.3018, allocations: 15.98 kB / 1.018 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3019, allocations: 67.7 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3021, allocations: 51.94 kB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.3022, allocations: 23.88 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.3022, allocations: 27.84 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3022, allocations: 8 kB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.3023, allocations: 4 kB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3023, allocations: 15.94 kB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.3023, allocations: 39.73 kB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.3024, allocations: 52.17 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3024, allocations: 4 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3024, allocations: 3.938 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3025, allocations: 0 / 1.019 GB, free: 9.738 MB / 0.795 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.0004937/0.303, allocations: 381.5 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.303, allocations: 8.922 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.303, allocations: 8.844 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3033, allocations: 188.2 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3033, allocations: 8.375 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3033, allocations: 12.38 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3035, allocations: 99.73 kB / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3035, allocations: 192 / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3035, allocations: 11.92 kB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3035, allocations: 4 kB / 1.019 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.3036, allocations: 31.98 kB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.3042, allocations: 444.5 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.3043, allocations: 33.22 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.3043, allocations: 25.81 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3043, allocations: 4 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3044, allocations: 34.55 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3044, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.3046, allocations: 53.48 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3046, allocations: 81.11 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3048, allocations: 156.9 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3048, allocations: 29.7 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3049, allocations: 115.9 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.3049, allocations: 3.906 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.305, allocations: 13.72 kB / 1.02 GB, free: 7.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3051, allocations: 318.8 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.3052, allocations: 8 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.3052, allocations: 21.7 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.3052, allocations: 37.66 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3053, allocations: 0 / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.332e-05/0.3053, allocations: 49.61 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3054, allocations: 4 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3054, allocations: 11.88 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3054, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.3055, allocations: 11.98 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3055, allocations: 4.062 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.3055, allocations: 11.84 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3055, allocations: 0 / 1.021 GB, free: 7.293 MB / 0.795 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 9.015e-05/0.3056, allocations: 114.4 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3057, allocations: 7.906 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.3057, allocations: 15.8 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3057, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3057, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3057, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.3061, allocations: 474.8 kB / 1.021 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3062, allocations: 4 kB / 1.021 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.3062, allocations: 0 / 1.021 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3062, allocations: 7.938 kB / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3062, allocations: 0 / 1.021 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3062, allocations: 3.984 kB / 1.021 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3062, allocations: 0 / 1.021 GB, free: 6.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.3063, allocations: 89.83 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.3064, allocations: 85.02 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3064, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.3064, allocations: 4.078 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.3065, allocations: 7.984 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3065, allocations: 0 / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.974e-05/0.3066, allocations: 125.1 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3066, allocations: 3.938 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001961/0.3068, allocations: 12 kB / 1.022 GB, free: 6.246 MB / 0.795 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.0001181/0.3069, allocations: 95.25 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.307, allocations: 19.94 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.307, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.076e-05/0.307, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.3072, allocations: 20.17 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3075, allocations: 204.5 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3079, allocations: 0.6963 MB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.3079, allocations: 11.44 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3079, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of Templates: time 0.002459/0.3104, allocations: 0.8598 MB / 1.024 GB, free: 4.266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches