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.001422/0.001422, 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.001539/0.001539, allocations: 220.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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.98 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.412/3.412, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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.002027/0.002027, allocations: 64.39 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002044/0.3825, allocations: 0.6064 MB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.083e-05/0.3825, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.3826, allocations: 3.938 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3826, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-06/0.3826, allocations: 0 / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.845e-05/0.3826, allocations: 4 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.3827, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.3828, allocations: 416 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.3828, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.3828, allocations: 11.94 kB / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3828, allocations: 0 / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-06/0.3828, allocations: 4 kB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3828, allocations: 0 / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.3829, allocations: 0 / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.3829, allocations: 3.984 kB / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3829, allocations: 0 / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3829, allocations: 0 / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3829, allocations: 3.938 kB / 1.353 GB, free: 7.828 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.0002991/0.3832, allocations: 238.7 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3833, allocations: 12.03 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.3833, allocations: 34.75 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.3833, allocations: 0.9375 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3835, allocations: 110.5 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3835, allocations: 4.312 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3835, allocations: 384 / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3836, allocations: 34.25 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3836, allocations: 3.938 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3836, allocations: 3.984 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3836, allocations: 0 / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.3836, allocations: 4 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3838, allocations: 120.7 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.3839, allocations: 18.58 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.3839, allocations: 8.953 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.3839, allocations: 0 / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3839, allocations: 30.56 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3839, allocations: 4 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.3841, allocations: 41.56 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3841, allocations: 55.41 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.3842, allocations: 89.86 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3842, allocations: 29.7 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3843, allocations: 80.14 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3843, allocations: 3.953 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.3843, allocations: 9.719 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3845, allocations: 315 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3845, allocations: 4 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.3845, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.3845, allocations: 12.86 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3845, allocations: 0 / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.759e-05/0.3846, allocations: 37.62 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3846, allocations: 4 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3846, allocations: 4.031 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3846, allocations: 7.938 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.3847, allocations: 4 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3847, allocations: 0 / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.3847, allocations: 4 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3847, allocations: 0 / 1.355 GB, free: 6.328 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 9.014e-05/0.3848, allocations: 117.7 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.3848, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3848, allocations: 10.94 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3848, allocations: 7.922 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3848, allocations: 4 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3848, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3849, allocations: 112.8 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3849, allocations: 4 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.3849, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3849, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3849, allocations: 3.938 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.385, allocations: 0 / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.385, allocations: 0 / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.397e-05/0.385, allocations: 69.06 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.385, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3851, allocations: 3.938 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.3851, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3851, allocations: 4 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.3851, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.3851, allocations: 75.28 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002012/0.3853, allocations: 32 / 1.355 GB, free: 5.852 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.0004358/0.3858, allocations: 0.5968 MB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.3858, allocations: 4 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3858, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.3858, allocations: 4.094 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.386, allocations: 7.984 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.3863, allocations: 98.73 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3867, allocations: 0.669 MB / 1.356 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.096e-05/0.3867, allocations: 0 / 1.356 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.3867, allocations: 11.44 kB / 1.356 GB, free: 4.363 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3867, allocations: 0 / 1.356 GB, free: 4.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.4162, allocations: 0.9976 MB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.64, allocations: 2.125 kB / 1.357 GB, free: 3.492 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 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.mat","/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.578510551014915]