Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.001803/0.001803, allocations: 113 kB / 18.94 MB, free: 2.934 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.002205/0.002205, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.023 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.926/2.926, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",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.002143/0.002143, allocations: 68.59 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3916, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001952/0.3936, allocations: 0.5941 MB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.274e-05/0.3936, allocations: 3.984 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3936, allocations: 4 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.3937, allocations: 4 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.3937, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4e-05/0.3937, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.3938, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.3938, allocations: 4 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.3938, allocations: 7.938 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.3939, allocations: 3.984 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3939, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-06/0.3939, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3939, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3939, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.394, allocations: 7.938 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.394, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.394, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.394, allocations: 0 / 1.284 GB, free: 11.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003377/0.3943, allocations: 241.9 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3944, allocations: 12.06 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.3944, allocations: 34.75 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.3944, allocations: 0.9375 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.3945, allocations: 102.5 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3946, allocations: 384 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3946, allocations: 8.359 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.3947, allocations: 30.27 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3947, allocations: 7.938 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.3947, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3947, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.3947, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3949, allocations: 128.7 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.3949, allocations: 18.58 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.395, allocations: 8.953 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.395, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.395, allocations: 30.56 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.395, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.3951, allocations: 45.56 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3952, allocations: 55.41 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.3952, allocations: 93.98 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3953, allocations: 25.7 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.3953, allocations: 80.14 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.3953, allocations: 3.953 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.3954, allocations: 9.812 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3955, allocations: 314.8 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.3955, allocations: 4 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.3955, allocations: 4 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.3956, allocations: 12.92 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3956, allocations: 0 / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.705e-05/0.3956, allocations: 37.62 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3957, allocations: 6.656 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3957, allocations: 15.81 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3957, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.3957, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3958, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-06/0.3958, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3958, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.628e-05/0.3959, allocations: 113.9 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.3959, allocations: 4 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.3959, allocations: 6.938 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3959, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3959, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.3959, allocations: 3.984 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.396, allocations: 116.8 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.396, allocations: 0 / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.396, allocations: 0 / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.396, allocations: 4 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.396, allocations: 3.938 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.396, allocations: 4 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.396, allocations: 0 / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.3961, allocations: 61.06 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-06/0.3961, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.3962, allocations: 7.938 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.3962, allocations: 4.031 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.3962, allocations: 4 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.3962, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.3962, allocations: 75.28 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3962, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001769/0.3964, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004607/0.3969, allocations: 0.5929 MB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.3969, allocations: 7.938 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.397, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/0.397, allocations: 8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.3971, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.3975, allocations: 98.72 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3978, allocations: 0.669 MB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.3979, allocations: 4.125 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.3979, allocations: 11.38 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3979, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.425, allocations: 0.9934 MB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.93, allocations: 9.219 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.046759476999796]