Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001754/0.001754, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002535/0.002535, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.797/2.797, allocations: 476.7 MB / 0.7714 GB, free: 4.285 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",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.002029/0.002029, allocations: 64.52 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002846/0.3607, allocations: 1.515 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3618, allocations: 0.5044 MB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.3619, allocations: 0 / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.3619, allocations: 7.922 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3622, allocations: 23.23 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.3624, allocations: 23.92 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3625, allocations: 55.84 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3626, allocations: 3.797 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3628, allocations: 39.84 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3629, allocations: 19.91 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.363, allocations: 4 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.363, allocations: 4 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.363, allocations: 11.94 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.3631, allocations: 23.91 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3632, allocations: 35.89 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3632, allocations: 0 / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3632, allocations: 0 / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3632, allocations: 4 kB / 1.286 GB, free: 9.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006854/0.3639, allocations: 282.3 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.364, allocations: 8.031 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.369e-05/0.364, allocations: 4.188 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.364, allocations: 34.75 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.3641, allocations: 0.9375 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3642, allocations: 122.4 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3643, allocations: 8.375 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3643, allocations: 4.375 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3644, allocations: 49.61 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3644, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3644, allocations: 11.92 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3644, allocations: 4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.3645, allocations: 15.98 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.365, allocations: 251.8 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3651, allocations: 42.58 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3651, allocations: 20.94 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3651, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.3654, allocations: 67.39 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3654, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00031/0.3657, allocations: 85.56 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.3658, allocations: 55.41 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3659, allocations: 113.8 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.366, allocations: 25.7 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.366, allocations: 88.14 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3661, allocations: 7.906 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.3661, allocations: 21.7 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3663, allocations: 322.8 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.3663, allocations: 11.98 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.3663, allocations: 12 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.813e-05/0.3664, allocations: 36.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3664, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001129/0.3665, allocations: 65.64 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3665, allocations: 4 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3665, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3666, allocations: 4 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.3666, allocations: 7.984 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3667, allocations: 0 / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.3667, allocations: 4 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 7.484 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001073/0.3668, allocations: 121.7 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3668, allocations: 7.938 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3669, allocations: 12.05 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3669, allocations: 448 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.367, allocations: 148.6 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.367, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.3671, allocations: 4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3671, allocations: 7.984 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3671, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3671, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3671, allocations: 3.938 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3672, allocations: 101 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.3672, allocations: 3.984 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3673, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.3673, allocations: 7.938 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3673, allocations: 11.98 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3674, allocations: 4 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.3674, allocations: 87.28 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3674, allocations: 0 / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001961/0.3676, allocations: 15.89 kB / 1.289 GB, free: 6.879 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004781/0.3681, allocations: 0.6281 MB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3682, allocations: 35.92 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3682, allocations: 4 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.3683, allocations: 15.98 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.3684, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3698, allocations: 1.232 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3701, allocations: 0.6807 MB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3701, allocations: 7.984 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.3702, allocations: 15.44 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3702, allocations: 0 / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3916, allocations: 1.661 MB / 1.293 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.16, allocations: 12.16 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.160400011984166]