Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009486/0.009486, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001839/0.001839, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.31 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3679, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002285/0.3702, allocations: 0.8311 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.3703, allocations: 43.78 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.3704, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.3704, allocations: 7.875 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.3705, allocations: 15.86 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.126e-05/0.3706, allocations: 19.92 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3707, allocations: 63.83 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3709, allocations: 39.86 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.3709, allocations: 31.8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.371, allocations: 35.84 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.371, allocations: 4 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.371, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.3711, allocations: 7.938 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.3711, allocations: 39.73 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3712, allocations: 71.64 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3712, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3712, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3712, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 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.0004895/0.3717, allocations: 383.1 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3718, allocations: 12.03 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3718, allocations: 12.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.372, allocations: 184.3 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.372, allocations: 8.375 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3721, allocations: 8.375 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3722, allocations: 99.78 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3722, allocations: 192 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3723, allocations: 7.938 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3723, allocations: 8 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.3723, allocations: 31.98 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.3729, allocations: 436.7 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.373, allocations: 37.22 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.373, allocations: 21.88 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.373, allocations: 3.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3731, allocations: 34.55 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.3731, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001895/0.3733, allocations: 57.53 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3733, allocations: 81.36 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3735, allocations: 164 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3735, allocations: 25.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.3736, allocations: 100.1 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.3736, allocations: 7.953 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3736, allocations: 17.67 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3737, allocations: 322.8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.3738, allocations: 8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.3738, allocations: 25.64 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.3738, allocations: 33.59 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3738, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.293e-05/0.3739, allocations: 53.66 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3739, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3739, allocations: 3.938 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.374, allocations: 8.047 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.374, allocations: 11.94 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.374, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.3741, allocations: 7.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3741, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 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.142e-05/0.3742, allocations: 113.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.3742, allocations: 7.953 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.3742, allocations: 11.8 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3742, allocations: 4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3742, allocations: 4 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3742, allocations: 96 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3747, allocations: 482.7 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3747, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.3747, allocations: 4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3747, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3747, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3747, allocations: 64 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3747, allocations: 8 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.3748, allocations: 81.81 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3749, allocations: 89.06 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3749, allocations: 3.984 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3749, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.3749, allocations: 4.031 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3749, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000101/0.375, allocations: 120.3 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.375, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001919/0.3752, allocations: 4 kB / 1.225 GB, free: 9.105 MB / 0.9825 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.0001461/0.3754, allocations: 107.2 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.3755, allocations: 15.94 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3755, allocations: 128 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-06/0.3755, allocations: 8 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3756, allocations: 19.86 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.376, allocations: 166.6 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3763, allocations: 0.6889 MB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.3764, allocations: 16.55 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.3764, allocations: 11.38 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3764, allocations: 4 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.002649/0.379, allocations: 456.4 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches