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.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.001998/0.001998, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001496/0.001496, allocations: 214.7 kB / 22.25 MB, free: 4.855 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.0021/0.0021, allocations: 71.03 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4127, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.003191/0.4159, allocations: 0.7946 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.4161, allocations: 35.8 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.4162, allocations: 8 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.602e-05/0.4162, allocations: 7.875 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.4163, allocations: 19.84 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.748e-05/0.4164, allocations: 15.98 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4166, allocations: 63.84 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.4168, allocations: 19.98 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4169, allocations: 31.86 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.417, allocations: 27.78 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.417, allocations: 4 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.417, allocations: 8 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.4171, allocations: 15.88 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.4171, allocations: 35.8 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.4173, allocations: 79.86 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4173, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4173, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4173, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 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.0006173/0.4179, allocations: 303.8 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.418, allocations: 8.031 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.418, allocations: 42.69 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.4181, allocations: 12.84 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4184, allocations: 130.4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4184, allocations: 12.38 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4184, allocations: 4.375 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.4187, allocations: 102.1 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4187, allocations: 7.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4187, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4187, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.4189, allocations: 31.98 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.4197, allocations: 395.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.4198, allocations: 37.2 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.4199, allocations: 21.78 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4199, allocations: 8.031 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.42, allocations: 34.5 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.42, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000282/0.4202, allocations: 61.52 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.4203, allocations: 85.09 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.4206, allocations: 152.5 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4206, allocations: 25.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4207, allocations: 112.2 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.4207, allocations: 7.953 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.4208, allocations: 21.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.421, allocations: 318.8 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.4211, allocations: 7.984 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.4211, allocations: 17.72 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.691e-05/0.4212, allocations: 25.66 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4212, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001854/0.4214, allocations: 61.64 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4214, allocations: 12 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4214, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4214, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.4215, allocations: 15.88 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4215, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.4216, allocations: 4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4216, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 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.000134/0.4217, allocations: 117.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.4218, allocations: 15.84 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.4219, allocations: 15.8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4219, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4219, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4219, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.4226, allocations: 433.9 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4226, allocations: 8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.4226, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.4226, allocations: 4 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4226, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.4226, allocations: 3.984 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4226, allocations: 0 / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4228, allocations: 89.83 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.4228, allocations: 15.94 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4228, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.4229, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.4229, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.4229, allocations: 4 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001705/0.4231, allocations: 120.7 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/0.4231, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003692/0.4234, allocations: 8 kB / 1.367 GB, free: 9.754 MB / 1.061 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.0006364/0.4241, allocations: 0.621 MB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4242, allocations: 12 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4242, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.4242, allocations: 11.94 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.4245, allocations: 7.984 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4267, allocations: 1.327 MB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.4268, allocations: 87.41 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.4268, allocations: 8.422 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.4269, allocations: 23.44 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4269, allocations: 3.938 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.4652, allocations: 2.103 MB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 6.625 kB / 1.371 GB, free: 5.527 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.631653546821326]