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.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.0007863/0.0007863, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008103/0.0008103, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 4.118e-06/4.118e-06, allocations: 3.984 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.974e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002102/0.002132, allocations: 1.463 MB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.002871, allocations: 0.5303 MB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.002914, allocations: 0 / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.002945, allocations: 3.938 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.003166, allocations: 27.78 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.003317, allocations: 27.91 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.003405, allocations: 59.83 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003515, allocations: 4 kB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.003686, allocations: 47.83 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.003764, allocations: 19.97 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.003782, allocations: 7.938 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.003837, allocations: 15.94 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.003859, allocations: 15.97 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.003895, allocations: 8 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.004027, allocations: 63.78 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004029, allocations: 3.938 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00403, allocations: 0 / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.004035, allocations: 4 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004883/0.004524, allocations: 294.1 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.004564, allocations: 12.03 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.004596, allocations: 30.75 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.004701, allocations: 12.92 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.00478, allocations: 109.8 kB / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.004793, allocations: 384 / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004804, allocations: 4.375 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.004938, allocations: 70.22 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004945, allocations: 4.125 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004956, allocations: 8.109 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.00496, allocations: 0 / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.005012, allocations: 23.98 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.005345, allocations: 244 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.00552, allocations: 70.55 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.005554, allocations: 28.84 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005568, allocations: 8 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.005704, allocations: 71.38 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005705, allocations: 3.938 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0001968/0.005902, allocations: 93.73 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.005939, allocations: 59.34 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.005997, allocations: 105.8 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.006011, allocations: 29.7 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.006043, allocations: 84.14 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.006068, allocations: 23.8 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.0061, allocations: 21.7 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.006177, allocations: 314.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.006208, allocations: 23.98 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.006235, allocations: 19.98 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.006294, allocations: 44.98 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.006297, allocations: 7.875 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.83e-05/0.006395, allocations: 81.67 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.00641, allocations: 4 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.006416, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006427, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.006481, allocations: 15.92 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.006487, allocations: 4 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.006524, allocations: 4 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.006533, allocations: 8 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (eqnTim.k,$PRE.eqnTim.k,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 (9): * Single equations (assignments): 9 * 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 6.393e-05/0.006597, allocations: 117.8 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.006604, allocations: 3.953 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.006757, allocations: 105.9 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.00676, allocations: 3.984 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.006766, allocations: 0 / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.006772, allocations: 3.984 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.006961, allocations: 156.6 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006962, allocations: 4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.006992, allocations: 8 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.006993, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.007002, allocations: 7.984 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007003, allocations: 0 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007004, allocations: 0 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007111, allocations: 129.1 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.007121, allocations: 7.953 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007135, allocations: 7.938 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.007166, allocations: 7.984 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.007201, allocations: 7.984 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007208, allocations: 11.94 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.007237, allocations: 83.28 kB / 0.9552 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007237, allocations: 0 / 0.9552 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000295/0.007532, allocations: 12 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003114/0.007843, allocations: 0.6631 MB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.007962, allocations: 51.92 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007963, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.008005, allocations: 27.98 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.008121, allocations: 6.188 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.008961, allocations: 1.274 MB / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.009003, allocations: 73.22 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.009036, allocations: 7.984 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.009078, allocations: 16.5 kB / 0.9573 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.009079, allocations: 4 kB / 0.9573 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02545, allocations: 2.368 MB / 0.9596 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.851, allocations: 11.3 kB / 0.9597 GB, free: 9.836 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable eqnTim.nDay in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv. Warning: Get data of variable eqnTim.nDay from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.889182936400175]