Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001365/0.001365, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001416/0.001416, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.298/3.298, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 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.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.003367/0.003367, allocations: 68.94 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3897, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003056/0.3927, allocations: 0.7781 MB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001837/0.3929, allocations: 47.78 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.393, allocations: 4 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.3931, allocations: 11.86 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3932, allocations: 7.875 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.587e-05/0.3932, allocations: 19.98 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3934, allocations: 59.84 kB / 1.346 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3936, allocations: 27.97 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.3936, allocations: 31.86 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.3937, allocations: 31.78 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3938, allocations: 4 kB / 1.346 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.3938, allocations: 8 kB / 1.346 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.3938, allocations: 19.88 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3939, allocations: 27.86 kB / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3941, allocations: 75.86 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3941, allocations: 0 / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3941, allocations: 0 / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3941, allocations: 3.938 kB / 1.346 GB, free: 14.74 MB / 1.045 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.0005841/0.3947, allocations: 310 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3948, allocations: 8.031 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.188e-05/0.3948, allocations: 8.188 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.3948, allocations: 38.75 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.3949, allocations: 12.84 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3951, allocations: 142.3 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3952, allocations: 8.359 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3952, allocations: 8.375 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.3954, allocations: 99.55 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3954, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3954, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.3954, allocations: 4 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3956, allocations: 35.98 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.3964, allocations: 395.8 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.3964, allocations: 37.22 kB / 1.347 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.3965, allocations: 17.78 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.3965, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3965, allocations: 42.53 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3965, allocations: 0 / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.3968, allocations: 53.58 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.3969, allocations: 81.11 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3971, allocations: 156.7 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3971, allocations: 25.95 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3972, allocations: 120 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.3972, allocations: 3.953 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.3973, allocations: 17.72 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3975, allocations: 318.8 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.3975, allocations: 4 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.3976, allocations: 21.72 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.3976, allocations: 25.66 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3976, allocations: 0 / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001571/0.3978, allocations: 65.59 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3978, allocations: 11.94 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3978, allocations: 0 / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3978, allocations: 0 / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.3979, allocations: 7.938 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3979, allocations: 4 kB / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.398, allocations: 0 / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.398, allocations: 4 kB / 1.348 GB, free: 12.46 MB / 1.045 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.0001275/0.3981, allocations: 125.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.3982, allocations: 11.89 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3982, allocations: 11.88 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3982, allocations: 4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3982, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3982, allocations: 96 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.3989, allocations: 445.7 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3989, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.3989, allocations: 7.984 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3989, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3989, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3989, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3989, allocations: 4.062 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3991, allocations: 77.83 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3991, allocations: 15.94 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3992, allocations: 0 / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.3992, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3992, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3992, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3994, allocations: 122.9 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3994, allocations: 0 / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003452/0.3997, allocations: 12 kB / 1.349 GB, free: 11.54 MB / 1.045 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.0005736/0.4003, allocations: 0.6132 MB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4004, allocations: 19.98 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4004, allocations: 0 / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.4004, allocations: 11.94 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.4007, allocations: 4 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4026, allocations: 1.327 MB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.4027, allocations: 87.12 kB / 1.351 GB, free: 9.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.4028, allocations: 8.422 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.4028, allocations: 23.44 kB / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.4028, allocations: 0 / 1.351 GB, free: 9.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.4262, allocations: 1.752 MB / 1.353 GB, free: 7.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 8.062 kB / 1.353 GB, free: 7.684 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 19.07626598898787]