Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001274/0.001274, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001282/0.001282, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.449/1.449, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002994/0.002994, allocations: 67.89 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8682, allocations: 168.7 MB / 1.269 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002731/0.871, allocations: 1.451 MB / 1.27 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.8718, allocations: 0.512 MB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.8719, allocations: 0 / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.8719, allocations: 3.938 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.8721, allocations: 27.84 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.8722, allocations: 27.91 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.8723, allocations: 43.92 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.8724, allocations: 15.77 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8725, allocations: 27.86 kB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.8726, allocations: 19.92 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.8726, allocations: 4 kB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.8726, allocations: 4 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.8727, allocations: 15.97 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.8727, allocations: 23.86 kB / 1.271 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.8728, allocations: 39.88 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8728, allocations: 0 / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8728, allocations: 4 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.8728, allocations: 0 / 1.271 GB, free: 3 MB / 0.9669 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.0006358/0.8735, allocations: 357.3 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8735, allocations: 11.97 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.8736, allocations: 38.75 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.8736, allocations: 0.9375 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.8737, allocations: 172.3 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.8737, allocations: 4.375 kB / 1.271 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8738, allocations: 4.375 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.8739, allocations: 57.8 kB / 1.272 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8739, allocations: 0 / 1.272 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.8739, allocations: 0 / 1.272 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8739, allocations: 3.984 kB / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.874, allocations: 27.97 kB / 1.272 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.8744, allocations: 280.7 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.8746, allocations: 66.67 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.8747, allocations: 16.86 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.8747, allocations: 0 / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.8749, allocations: 75.31 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.8749, allocations: 0 / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002428/0.8751, allocations: 89.67 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.8752, allocations: 51.41 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.8752, allocations: 105.8 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.8753, allocations: 25.7 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.8753, allocations: 92.03 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.8754, allocations: 23.89 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.8754, allocations: 17.72 kB / 1.272 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8756, allocations: 326.8 kB / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.8756, allocations: 16 kB / 1.273 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.8756, allocations: 19.92 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.8757, allocations: 32.86 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8757, allocations: 0 / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001255/0.8758, allocations: 73.62 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.8758, allocations: 4 kB / 1.273 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8758, allocations: 4 kB / 1.273 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8759, allocations: 0 / 1.273 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.8759, allocations: 8.25 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8759, allocations: 0 / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.876, allocations: 23.92 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.876, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 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 9.455e-05/0.8761, allocations: 114.3 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.8761, allocations: 4 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.8763, allocations: 105.5 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8763, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8763, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.8763, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.8765, allocations: 201.5 kB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8765, allocations: 0 / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.8766, allocations: 11.98 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8766, allocations: 0 / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.8766, allocations: 0 / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.8766, allocations: 4 kB / 1.273 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8766, allocations: 0 / 1.273 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.8768, allocations: 117 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.8768, allocations: 85.06 kB / 1.273 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8769, allocations: 8 kB / 1.273 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.8769, allocations: 3.984 kB / 1.273 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.877, allocations: 4 kB / 1.273 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.877, allocations: 7.984 kB / 1.273 GB, free: 12 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.877, allocations: 83.28 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.877, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001866/0.8772, allocations: 15.94 kB / 1.274 GB, free: 15.91 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,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.0006388/0.8779, allocations: 0.6598 MB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.878, allocations: 51.91 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.878, allocations: 0 / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.8781, allocations: 31.92 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.8782, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.8795, allocations: 1.251 MB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.8798, allocations: 0.6885 MB / 1.276 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.8799, allocations: 4 kB / 1.276 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.8799, allocations: 15.44 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8799, allocations: 0 / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.9045, allocations: 1.675 MB / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.844, allocations: 10.3 kB / 1.278 GB, free: 11.55 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.779769437853247]