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.00155/0.00155, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001584/0.001584, allocations: 216.2 kB / 22.24 MB, free: 5.262 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.746 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.9/2.9, allocations: 476 MB / 0.7699 GB, free: 4.699 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.002158/0.002158, allocations: 73.62 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001885/0.3242, allocations: 0.5997 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.066e-05/0.3243, allocations: 7.875 kB / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.3243, allocations: 0 / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.3243, allocations: 3.984 kB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.699e-06/0.3243, allocations: 0 / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.3244, allocations: 0 / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.3244, allocations: 8 kB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.3245, allocations: 4 kB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.16e-05/0.3245, allocations: 0 / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.3245, allocations: 0 / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3245, allocations: 3.984 kB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.3245, allocations: 0 / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3245, allocations: 4 kB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.3246, allocations: 0 / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.092e-05/0.3246, allocations: 0 / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3246, allocations: 0 / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3246, allocations: 0 / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.3246, allocations: 0 / 1.283 GB, free: 11.8 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.0003598/0.325, allocations: 238.5 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.325, allocations: 8.031 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3251, allocations: 34.75 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.3251, allocations: 8.938 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.434e-05/0.3252, allocations: 102.5 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3252, allocations: 8.25 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3252, allocations: 384 / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.3253, allocations: 30.27 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3253, allocations: 3.938 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3253, allocations: 0 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3253, allocations: 3.938 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.3254, allocations: 4 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.3255, allocations: 124.8 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/0.3256, allocations: 18.52 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.3256, allocations: 8.953 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3256, allocations: 0 / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3256, allocations: 30.56 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3256, allocations: 0 / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.3258, allocations: 41.64 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3258, allocations: 51.41 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.3259, allocations: 97.97 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3259, allocations: 25.7 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3259, allocations: 80.14 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.326, allocations: 7.469 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.326, allocations: 13.72 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3261, allocations: 314.9 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.3261, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.3262, allocations: 8 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.3262, allocations: 8.859 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3262, allocations: 64 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.345e-05/0.3262, allocations: 37.7 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3263, allocations: 7.984 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3263, allocations: 3.938 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3263, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.3263, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3263, allocations: 4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.3264, allocations: 3.938 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3264, allocations: 0 / 1.284 GB, free: 10.31 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 0.0001004/0.3265, allocations: 105.8 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.3265, allocations: 8.031 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.3265, allocations: 10.94 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3265, allocations: 3.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3265, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3265, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3266, allocations: 116.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3266, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.3267, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3267, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3267, allocations: 3.938 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3267, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3267, allocations: 8 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.3267, allocations: 61.12 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.3268, allocations: 3.938 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3268, allocations: 3.938 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-06/0.3268, allocations: 0 / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.3268, allocations: 7.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3268, allocations: 3.984 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.3268, allocations: 75.28 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3268, allocations: 0 / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001753/0.327, allocations: 0 / 1.285 GB, free: 9.832 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.0004239/0.3274, allocations: 0.5929 MB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.3275, allocations: 4 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3275, allocations: 3.938 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.3275, allocations: 8 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.3276, allocations: 0 / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.328, allocations: 102.7 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.328, allocations: 55.36 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3281, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.3281, allocations: 11.59 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3281, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3578, allocations: 1.384 MB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.04, allocations: 3.969 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB " [Timeout remaining time 287] (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.971191361080855]