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.001344/0.001344, allocations: 104 kB / 16.45 MB, free: 6.449 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.001491/0.001491, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.799/2.799, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] 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.002043/0.002043, allocations: 67.91 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8845, allocations: 169.9 MB / 1.278 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002316/0.8868, allocations: 0.5938 MB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 5.462e-05/0.8868, allocations: 8 kB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.8869, allocations: 3.938 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.8869, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-06/0.8869, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.541e-05/0.8869, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.887, allocations: 7.984 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.8871, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.8871, allocations: 4 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.634e-05/0.8871, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.8871, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.469e-06/0.8871, allocations: 4 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.8871, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.8872, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.299e-05/0.8872, allocations: 4 kB / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8872, allocations: 0 / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8873, allocations: 0 / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8873, allocations: 0 / 1.279 GB, free: 12.92 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.0004134/0.8877, allocations: 313.4 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.8877, allocations: 12.06 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.8878, allocations: 34.69 kB / 1.279 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.8878, allocations: 8.875 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.8879, allocations: 160.4 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.888, allocations: 4.312 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.888, allocations: 4.359 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.8881, allocations: 30.27 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8881, allocations: 3.938 kB / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8881, allocations: 4 kB / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8881, allocations: 0 / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.8881, allocations: 0 / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.8883, allocations: 145.7 kB / 1.28 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.824e-05/0.8883, allocations: 22.55 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.8883, allocations: 4.922 kB / 1.28 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.8884, allocations: 8 kB / 1.28 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.8884, allocations: 34.55 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.8884, allocations: 0 / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.8885, allocations: 37.64 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.8886, allocations: 55.34 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.8886, allocations: 89.86 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.8886, allocations: 25.7 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.8887, allocations: 80.14 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.8887, allocations: 7.953 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.8887, allocations: 13.72 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8889, allocations: 310.8 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.8889, allocations: 4.125 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.8889, allocations: 7.984 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.8889, allocations: 4.859 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8889, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.352e-05/0.889, allocations: 37.7 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.889, allocations: 4 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.889, allocations: 7.875 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.889, allocations: 0 / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.8891, allocations: 8.094 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8891, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.8891, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.8891, allocations: 0 / 1.28 GB, free: 11.23 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.515e-05/0.8892, allocations: 109.8 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.8892, allocations: 4 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.8893, allocations: 7.062 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8893, allocations: 3.938 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8893, allocations: 4 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8893, allocations: 4 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.8894, allocations: 141.7 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8894, allocations: 3.938 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.8894, allocations: 7.984 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8894, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.8894, allocations: 3.938 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8894, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8894, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.37e-05/0.8895, allocations: 65.08 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.8896, allocations: 77.11 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.8896, allocations: 3.938 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-06/0.8896, allocations: 3.984 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.8896, allocations: 0 / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.8896, allocations: 0 / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.8896, allocations: 75.28 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8896, allocations: 4 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.8899, allocations: 0 / 1.281 GB, free: 10.62 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.0004641/0.8903, allocations: 0.5974 MB / 1.281 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.657e-05/0.8904, allocations: 7.938 kB / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8904, allocations: 0 / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.8904, allocations: 0 / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.8906, allocations: 5.984 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.8909, allocations: 98.73 kB / 1.281 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.8913, allocations: 0.6845 MB / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.177e-05/0.8913, allocations: 0 / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.8913, allocations: 7.438 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.8913, allocations: 0 / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.9203, allocations: 0.8841 MB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.965, allocations: 11.88 kB / 1.283 GB, free: 8.301 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.202976712957025]