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.001838/0.001838, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.002294/0.002294, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.327/3.327, allocations: 0.505 GB / 0.8066 GB, free: 23 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.002274/0.002274, allocations: 68.42 kB / 1.172 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3847, allocations: 180.2 MB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001891/0.3866, allocations: 0.5919 MB / 1.348 GB, free: 9.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 3.623e-05/0.3867, allocations: 4 kB / 1.348 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.3867, allocations: 0 / 1.348 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3867, allocations: 0 / 1.348 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.3867, allocations: 3.938 kB / 1.348 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.564e-05/0.3867, allocations: 0 / 1.348 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.3868, allocations: 8 kB / 1.348 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.3868, allocations: 0 / 1.348 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.3868, allocations: 3.984 kB / 1.348 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.797e-05/0.3869, allocations: 0 / 1.348 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3869, allocations: 0 / 1.348 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-06/0.3869, allocations: 0 / 1.348 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3869, allocations: 8 kB / 1.348 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.3869, allocations: 0 / 1.348 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 4.894e-05/0.3869, allocations: 3.984 kB / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3869, allocations: 0 / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3869, allocations: 0 / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.387, allocations: 0 / 1.348 GB, free: 9.469 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.0003323/0.3873, allocations: 311.9 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3873, allocations: 11.98 kB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3874, allocations: 34.69 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.3874, allocations: 0.9375 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3875, allocations: 168.4 kB / 1.349 GB, free: 8.855 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.3875, allocations: 4.375 kB / 1.349 GB, free: 8.852 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.3875, allocations: 384 / 1.349 GB, free: 8.852 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.3876, allocations: 30.2 kB / 1.349 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3877, allocations: 3.938 kB / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.3877, allocations: 0 / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3877, allocations: 0 / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.3877, allocations: 4 kB / 1.349 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.3879, allocations: 149.6 kB / 1.349 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.622e-05/0.3879, allocations: 22.52 kB / 1.349 GB, free: 8.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.3879, allocations: 12.94 kB / 1.349 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.3879, allocations: 0 / 1.349 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.388, allocations: 38.5 kB / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.388, allocations: 0 / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.3881, allocations: 41.64 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3882, allocations: 59.47 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.3883, allocations: 89.86 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3883, allocations: 25.7 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.3883, allocations: 80.14 kB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3884, allocations: 3.953 kB / 1.349 GB, free: 8.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3884, allocations: 13.72 kB / 1.349 GB, free: 8.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.3886, allocations: 314.8 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.3887, allocations: 0 / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.3887, allocations: 4.406 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.3887, allocations: 12.86 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3887, allocations: 0 / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000142/0.3888, allocations: 29.7 kB / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3888, allocations: 11.94 kB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3889, allocations: 3.938 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3889, allocations: 0 / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.3889, allocations: 0 / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3889, allocations: 0 / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.3889, allocations: 4.094 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3889, allocations: 4 kB / 1.35 GB, free: 7.773 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.253e-05/0.389, allocations: 109.8 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-06/0.389, allocations: 0 / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.3891, allocations: 15.05 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3891, allocations: 0 / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3891, allocations: 0 / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3891, allocations: 7.938 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3892, allocations: 141.7 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3892, allocations: 4 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.3892, allocations: 3.984 kB / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3892, allocations: 0 / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3892, allocations: 7.938 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3892, allocations: 0 / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3892, allocations: 0 / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.44e-05/0.3893, allocations: 57.08 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3894, allocations: 77.11 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3894, allocations: 15.95 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.3894, allocations: 0 / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3894, allocations: 0 / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.3894, allocations: 0 / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.3894, allocations: 75.28 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 3.938 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001904/0.3896, allocations: 0 / 1.35 GB, free: 7.164 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.0004213/0.39, allocations: 0.5968 MB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.941e-05/0.3901, allocations: 7.938 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3901, allocations: 0 / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.3901, allocations: 4 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3903, allocations: 6.656 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.3906, allocations: 106.8 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.391, allocations: 0.6729 MB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.391, allocations: 0 / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.391, allocations: 7.438 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.391, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.4158, allocations: 0.8841 MB / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.562, allocations: 8.938 kB / 1.352 GB, free: 4.855 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.474362941924483]