Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.00161/0.00161, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001983/0.001983, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.582/1.582, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.096/3.096, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.002312/0.002312, allocations: 67.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9497/0.952, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002432/0.9545, allocations: 1.47 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.9554, allocations: 0.5756 MB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.9554, allocations: 0 / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.9554, allocations: 4.734 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.9557, allocations: 23.92 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.9558, allocations: 30.55 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.9559, allocations: 55.17 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.956, allocations: 7.094 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.9561, allocations: 26.16 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.9562, allocations: 31.45 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.9562, allocations: 7.188 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.9563, allocations: 13.98 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9563, allocations: 11.52 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.9563, allocations: 24.2 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.9564, allocations: 46.09 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9565, allocations: 1.375 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9565, allocations: 4.453 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.9565, allocations: 0 / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005468/0.957, allocations: 357.8 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.957, allocations: 8.312 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.141e-05/0.9571, allocations: 5.25 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.9571, allocations: 33.77 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.9572, allocations: 21.92 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.9574, allocations: 169.5 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.9574, allocations: 1.656 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.9574, allocations: 2.469 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9575, allocations: 70.44 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9575, allocations: 1 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.9575, allocations: 4 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.9575, allocations: 1.469 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.9576, allocations: 25.14 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.9579, allocations: 275.3 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.9581, allocations: 61.38 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.9582, allocations: 28.48 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.9582, allocations: 0 / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.9583, allocations: 68.12 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.9583, allocations: 1.281 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002377/0.9586, allocations: 92.38 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.9586, allocations: 52.06 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.9587, allocations: 106.9 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.9587, allocations: 30.77 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.9587, allocations: 82.45 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.9587, allocations: 23.58 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.9588, allocations: 21.88 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.9588, allocations: 321.3 kB / 1.344 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.9588, allocations: 14.08 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.9589, allocations: 13.59 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.74e-05/0.9589, allocations: 39.48 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9589, allocations: 5.094 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.9591, allocations: 71.72 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.9591, allocations: 13.78 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9591, allocations: 0.7969 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9591, allocations: 1.188 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.9592, allocations: 9.484 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9592, allocations: 1.656 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.9593, allocations: 11.42 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.9593, allocations: 2.156 kB / 1.344 GB, free: 12.8 MB / 1.061 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.675e-05/0.9593, allocations: 118.1 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.9593, allocations: 1.938 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.9595, allocations: 105.2 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9595, allocations: 0 / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9595, allocations: 1.938 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9595, allocations: 1.047 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.9596, allocations: 179.6 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9596, allocations: 6.094 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.9597, allocations: 13.64 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9597, allocations: 1.812 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.9597, allocations: 4.703 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.9597, allocations: 2.062 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9597, allocations: 0.5625 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.9599, allocations: 121.1 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.9599, allocations: 88.95 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.9599, allocations: 4.516 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.96, allocations: 4.375 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.96, allocations: 10.88 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.96, allocations: 2.719 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.9601, allocations: 85.64 kB / 1.345 GB, free: 12.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9601, allocations: 0 / 1.345 GB, free: 12.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001885/0.9603, allocations: 17.59 kB / 1.345 GB, free: 12.11 MB / 1.061 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003361/0.9606, allocations: 0.6537 MB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.9607, allocations: 52.73 kB / 1.346 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9607, allocations: 0 / 1.346 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.9608, allocations: 31.31 kB / 1.346 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.961, allocations: 5.625 kB / 1.346 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.9619, allocations: 1.229 MB / 1.347 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.962, allocations: 0.6843 MB / 1.348 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.9621, allocations: 8.531 kB / 1.348 GB, free: 9.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.9621, allocations: 17.53 kB / 1.348 GB, free: 9.594 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9621, allocations: 0 / 1.348 GB, free: 9.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.9803, allocations: 1.729 MB / 1.349 GB, free: 9.203 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/9.009, allocations: 11.42 kB / 1.349 GB, free: 9.199 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.803739466995467]