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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00688/0.00688, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001672/0.001672, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.12 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3252, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002004/0.3272, allocations: 0.8275 MB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.3274, allocations: 47.78 kB / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.3274, allocations: 0 / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.3275, allocations: 15.86 kB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.3276, allocations: 7.875 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.902e-05/0.3277, allocations: 15.98 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3278, allocations: 67.83 kB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3279, allocations: 43.92 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.328, allocations: 31.84 kB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.328, allocations: 27.8 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3281, allocations: 8 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.3281, allocations: 4 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3281, allocations: 23.86 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.3282, allocations: 31.75 kB / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3283, allocations: 75.92 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3283, allocations: 3.984 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3283, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3283, allocations: 4 kB / 1.208 GB, free: 8.914 MB / 0.9669 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.0004042/0.3287, allocations: 375.2 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3288, allocations: 12.62 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.3288, allocations: 42.67 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.3288, allocations: 8.844 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.329, allocations: 192.2 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3291, allocations: 4.375 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3291, allocations: 8.375 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3292, allocations: 93.3 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3292, allocations: 7.922 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3293, allocations: 8 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3293, allocations: 0 / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.3293, allocations: 35.98 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3299, allocations: 436.5 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.3299, allocations: 33.16 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.33, allocations: 21.84 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.33, allocations: 4.031 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.33, allocations: 38.55 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.33, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.3302, allocations: 57.48 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3302, allocations: 81.11 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3304, allocations: 158.8 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3304, allocations: 25.7 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.3305, allocations: 111.9 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/0.3305, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3305, allocations: 25.88 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.3306, allocations: 322.8 kB / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3307, allocations: 4 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.3307, allocations: 25.7 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.3307, allocations: 25.66 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3307, allocations: 0 / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.909e-05/0.3308, allocations: 57.61 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3308, allocations: 11.94 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3309, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3309, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3309, allocations: 15.86 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.331, allocations: 4 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.331, allocations: 3.938 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.331, allocations: 4 kB / 1.211 GB, free: 6.434 MB / 0.9669 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 6.791e-05/0.3311, allocations: 113.9 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.3311, allocations: 11.84 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.3312, allocations: 11.86 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3312, allocations: 4.078 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3312, allocations: 8 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3312, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3315, allocations: 474.7 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3316, allocations: 4.062 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.3316, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3316, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3316, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3316, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3316, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.346e-05/0.3317, allocations: 85.77 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.3317, allocations: 89.05 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3318, allocations: 7.984 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.3318, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.3318, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.3318, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.3319, allocations: 121.1 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3319, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001907/0.3321, allocations: 12 kB / 1.212 GB, free: 5.395 MB / 0.9669 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.0003265/0.3324, allocations: 0.617 MB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.796e-05/0.3325, allocations: 15.94 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3325, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.3326, allocations: 12.09 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3327, allocations: 17.69 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3338, allocations: 1.319 MB / 1.213 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.334, allocations: 0.6928 MB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.3341, allocations: 8.438 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.3341, allocations: 27.42 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.3342, allocations: 3.938 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.3509, allocations: 1.603 MB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.78, allocations: 3.984 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches