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.0008137/0.0008137, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008911/0.0008911, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9005/0.9005, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.648/1.648, 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 2.054e-06/2.054e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.295e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002094/0.002117, allocations: 1.471 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00077/0.002887, allocations: 0.5342 MB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.002926, allocations: 0 / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.002954, allocations: 0 / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.00317, allocations: 25.86 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.003309, allocations: 35.89 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.003397, allocations: 47.86 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003501, allocations: 23.91 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.00364, allocations: 35.91 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.003707, allocations: 23.91 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.003724, allocations: 4 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.00377, allocations: 12 kB / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.003787, allocations: 11.98 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.003821, allocations: 15.97 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.003955, allocations: 59.78 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.00396, allocations: 8 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.184e-06/0.003962, allocations: 3.938 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.003967, allocations: 0 / 0.9527 GB, free: 1.172 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.0004854/0.004453, allocations: 290.2 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.00449, allocations: 8.031 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.004519, allocations: 34.75 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.004628, allocations: 12.92 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.004719, allocations: 113.7 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.004734, allocations: 8.375 kB / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.004744, allocations: 384 / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.004846, allocations: 62.23 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004854, allocations: 192 / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004864, allocations: 4.125 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.004869, allocations: 0 / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.00493, allocations: 23.98 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.005283, allocations: 259.9 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.005487, allocations: 70.59 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.00552, allocations: 24.86 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.005535, allocations: 3.938 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.005707, allocations: 79.31 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.005709, allocations: 0 / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.005915, allocations: 89.73 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.005951, allocations: 59.41 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.00601, allocations: 109.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006021, allocations: 25.7 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.006052, allocations: 80.14 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.006077, allocations: 27.78 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.00611, allocations: 25.7 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.006183, allocations: 314.8 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.006215, allocations: 27.92 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.006239, allocations: 16 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.006306, allocations: 48.97 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.006311, allocations: 3.938 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.827e-05/0.006409, allocations: 85.62 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.006424, allocations: 6.812 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.00643, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.006443, allocations: 7.984 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.006499, allocations: 8 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006504, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.006547, allocations: 11.98 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.006554, allocations: 0 / 0.9546 GB, free: 15.07 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.438e-05/0.006618, allocations: 121.7 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.006627, allocations: 3.953 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.006779, allocations: 105.8 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006782, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.006788, allocations: 7.938 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.006791, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.815e-05/0.006889, allocations: 156.6 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00689, allocations: 0 / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.006922, allocations: 12 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006924, allocations: 4 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006932, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006933, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006934, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.007046, allocations: 137 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.007058, allocations: 7.938 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.007073, allocations: 4 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.007104, allocations: 4 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.007135, allocations: 7.984 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.007141, allocations: 4 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.007171, allocations: 91.27 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007171, allocations: 0 / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001346/0.007305, allocations: 12 kB / 0.9553 GB, free: 14.33 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.0002912/0.007597, allocations: 0.6553 MB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.007719, allocations: 55.91 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00772, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.007762, allocations: 31.92 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.007888, allocations: 10.06 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.009119, allocations: 1.267 MB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.009166, allocations: 77.62 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.009205, allocations: 7.984 kB / 0.9573 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.009252, allocations: 24.48 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.009253, allocations: 0 / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.02514, allocations: 2.369 MB / 0.9596 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/6.856, allocations: 3.469 kB / 0.9596 GB, free: 9.863 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.795064141973853]