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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 497.2 MB / 0.7811 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 64.88 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3908, allocations: 173.9 MB / 1.304 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004678/0.3955, allocations: 1.445 MB / 1.305 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3967, allocations: 0.5181 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.3967, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.3968, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.397, allocations: 31.59 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.3972, allocations: 27.89 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3973, allocations: 47.86 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3974, allocations: 4.266 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3975, allocations: 35.92 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.3976, allocations: 23.91 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3976, allocations: 4 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.3977, allocations: 4 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.3977, allocations: 7.984 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.3977, allocations: 19.88 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3979, allocations: 47.8 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3979, allocations: 3.938 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3979, allocations: 0 / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3979, allocations: 0 / 1.306 GB, free: 15.41 MB / 1.014 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.000666/0.3985, allocations: 359.4 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3986, allocations: 8.922 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.3986, allocations: 30.75 kB / 1.307 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3987, allocations: 8.938 kB / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3989, allocations: 176.3 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3989, allocations: 4.375 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3989, allocations: 384 / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3991, allocations: 61.8 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3991, allocations: 0 / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3991, allocations: 4 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3991, allocations: 3.984 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-05/0.3992, allocations: 27.92 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.3996, allocations: 276.8 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3999, allocations: 58.69 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.3999, allocations: 28.78 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4, allocations: 4 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.4002, allocations: 67.38 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4002, allocations: 3.938 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0002882/0.4005, allocations: 93.62 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.4005, allocations: 51.41 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.4006, allocations: 113.8 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4007, allocations: 25.7 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.4007, allocations: 80.14 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4008, allocations: 15.91 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4008, allocations: 21.7 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.401, allocations: 314.8 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.401, allocations: 19.98 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.401, allocations: 12 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.4011, allocations: 40.84 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4011, allocations: 0 / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001368/0.4013, allocations: 81.8 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4013, allocations: 4 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4013, allocations: 4.062 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4013, allocations: 3.938 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.4014, allocations: 8 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4014, allocations: 3.984 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.4015, allocations: 11.92 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4015, allocations: 4 kB / 1.308 GB, free: 13.18 MB / 1.014 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 0.0001126/0.4016, allocations: 117.8 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.4016, allocations: 7.953 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.4018, allocations: 101.6 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4018, allocations: 4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4018, allocations: 256 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4018, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.402, allocations: 185.6 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.402, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.4021, allocations: 12 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4021, allocations: 4 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4021, allocations: 3.984 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4021, allocations: 0 / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4021, allocations: 3.938 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.4023, allocations: 121 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4024, allocations: 81.11 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.4024, allocations: 4 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.4025, allocations: 11.94 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.4025, allocations: 7.984 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4025, allocations: 0 / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.4026, allocations: 87.27 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4026, allocations: 4 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001913/0.4028, allocations: 8 kB / 1.309 GB, free: 12.32 MB / 1.014 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.0006119/0.4034, allocations: 0.6595 MB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.4036, allocations: 51.91 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4036, allocations: 0 / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.4036, allocations: 24 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4038, allocations: 10 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.4052, allocations: 1.235 MB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4055, allocations: 0.6845 MB / 1.311 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.4056, allocations: 11.98 kB / 1.311 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.4056, allocations: 15.44 kB / 1.311 GB, free: 9.496 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.4056, allocations: 3.938 kB / 1.311 GB, free: 9.492 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.432, allocations: 1.673 MB / 1.313 GB, free: 7.969 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.232, allocations: 11.88 kB / 1.313 GB, free: 7.961 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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: 14.738301035016775]