Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 64.19 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193/1.195, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002978/1.198, allocations: 0.8303 MB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002095/1.199, allocations: 36.98 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/1.199, allocations: 5.031 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/1.199, allocations: 9.859 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/1.199, allocations: 9.797 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.789e-05/1.199, allocations: 21.08 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.199, allocations: 59.61 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/1.199, allocations: 38.62 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/1.199, allocations: 23.77 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/1.199, allocations: 31.52 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/1.199, allocations: 10.39 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/1.199, allocations: 5.438 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/1.199, allocations: 12.89 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/1.2, allocations: 39.7 kB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/1.2, allocations: 76.69 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.2, allocations: 1.188 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.2, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.2, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 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.0005589/1.2, allocations: 380.4 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.2, allocations: 9.719 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/1.2, allocations: 3.047 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/1.2, allocations: 43.28 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.2, allocations: 9.266 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/1.201, allocations: 200.8 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.201, allocations: 8.375 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.201, allocations: 8.234 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.201, allocations: 100.7 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.201, allocations: 1.156 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.201, allocations: 5.062 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.201, allocations: 5.719 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/1.201, allocations: 35.91 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/1.202, allocations: 434.9 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/1.202, allocations: 41.31 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/1.202, allocations: 24.08 kB / 1.281 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/1.202, allocations: 0 / 1.281 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/1.202, allocations: 36.83 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.202, allocations: 1.125 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002067/1.202, allocations: 55.73 kB / 1.281 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.202, allocations: 82.94 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/1.202, allocations: 161.2 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/1.202, allocations: 25.7 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/1.203, allocations: 107.9 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/1.203, allocations: 9.891 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/1.203, allocations: 14.52 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.203, allocations: 324 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/1.203, allocations: 7.984 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/1.203, allocations: 19.69 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/1.203, allocations: 27.27 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.203, allocations: 0 / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.726e-05/1.203, allocations: 57.39 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.203, allocations: 10.03 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.203, allocations: 1.125 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.203, allocations: 64 / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/1.203, allocations: 15.48 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.203, allocations: 1.312 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/1.203, allocations: 9.234 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.203, allocations: 5.938 kB / 1.282 GB, free: 8.82 MB / 0.9981 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 0.0001038/1.203, allocations: 110 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/1.203, allocations: 16.91 kB / 1.282 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/1.203, allocations: 7.531 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.203, allocations: 2.031 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.203, allocations: 8.969 kB / 1.282 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.203, allocations: 0 / 1.282 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/1.204, allocations: 471.2 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.204, allocations: 0.5625 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/1.204, allocations: 7.609 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.204, allocations: 1.031 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/1.204, allocations: 1.156 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.204, allocations: 1.531 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.204, allocations: 4.062 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/1.204, allocations: 76.83 kB / 1.283 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/1.204, allocations: 94.22 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/1.204, allocations: 1.516 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/1.204, allocations: 1.438 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/1.204, allocations: 6.219 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.204, allocations: 1.062 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001388/1.204, allocations: 126.5 kB / 1.283 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.204, allocations: 0.5938 kB / 1.283 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001978/1.204, allocations: 6.938 kB / 1.283 GB, free: 7.902 MB / 0.9981 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.0005499/1.205, allocations: 0.6196 MB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000115/1.205, allocations: 19.33 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.205, allocations: 0.625 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/1.205, allocations: 4.422 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/1.205, allocations: 7.156 kB / 1.284 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.207, allocations: 1.327 MB / 1.285 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.207, allocations: 0.6928 MB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.851e-05/1.207, allocations: 11.22 kB / 1.286 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/1.207, allocations: 25.91 kB / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/1.207, allocations: 0 / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/1.231, allocations: 1.626 MB / 1.287 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.67, allocations: 25.09 kB / 1.287 GB, free: 4.91 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.18768897600239]