Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002277/0.002277, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.957 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.352/3.352, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_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.002358/0.002358, allocations: 71.22 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4009, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002003/0.4029, allocations: 0.5997 MB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.113e-05/0.4029, allocations: 3.938 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.4029, allocations: 3.938 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.4029, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.403, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.207e-05/0.403, allocations: 8 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.403, allocations: 0 / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.4031, allocations: 4.406 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.4031, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.4031, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.4032, allocations: 4 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-06/0.4032, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.4032, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.4032, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 5.836e-05/0.4033, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4033, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4033, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4033, allocations: 0 / 1.353 GB, free: 7.855 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003209/0.4036, allocations: 250.6 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4036, allocations: 8.031 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.4037, allocations: 34.75 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.4037, allocations: 0.9375 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.4038, allocations: 106.5 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.4038, allocations: 4.312 kB / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4038, allocations: 384 / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4039, allocations: 34.25 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4039, allocations: 3.938 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.4039, allocations: 4 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4039, allocations: 0 / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.404, allocations: 0 / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.4041, allocations: 120.8 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/0.4041, allocations: 18.52 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.4042, allocations: 8.953 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.4042, allocations: 0 / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4042, allocations: 38.56 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.4042, allocations: 0 / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001934/0.4044, allocations: 41.56 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4044, allocations: 51.41 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.4045, allocations: 89.86 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4045, allocations: 29.7 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.4046, allocations: 84.12 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.4046, allocations: 3.953 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.4046, allocations: 17.84 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4048, allocations: 314.8 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.4048, allocations: 4 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-06/0.4048, allocations: 0 / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.4048, allocations: 16.84 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4048, allocations: 0 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.827e-05/0.4049, allocations: 33.64 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4049, allocations: 4.094 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4049, allocations: 7.938 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4049, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.405, allocations: 4 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.405, allocations: 0 / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.405, allocations: 4 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.405, allocations: 0 / 1.355 GB, free: 6.348 MB / 1.045 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 8.22e-05/0.4051, allocations: 114.4 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.4051, allocations: 3.984 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.4051, allocations: 10.92 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4051, allocations: 7.938 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4051, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.4051, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.4052, allocations: 116.8 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.4052, allocations: 0 / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.4052, allocations: 0 / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.4052, allocations: 0 / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4052, allocations: 3.938 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4052, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4052, allocations: 3.984 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.813e-05/0.4053, allocations: 65.08 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-06/0.4053, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.4053, allocations: 3.938 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-06/0.4053, allocations: 0 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.4053, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4054, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.4054, allocations: 79.27 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4054, allocations: 4.031 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001812/0.4056, allocations: 0 / 1.355 GB, free: 5.867 MB / 1.045 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.0004095/0.406, allocations: 0.589 MB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.4061, allocations: 11.92 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4061, allocations: 4.094 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-06/0.4061, allocations: 0 / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.4062, allocations: 3.938 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.4065, allocations: 102.7 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.4069, allocations: 0.669 MB / 1.356 GB, free: 4.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.4069, allocations: 4 kB / 1.356 GB, free: 4.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.407, allocations: 7.438 kB / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.407, allocations: 0 / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.4352, allocations: 0.9908 MB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.33, allocations: 11.38 kB / 1.357 GB, free: 3.504 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.459885887999917]