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.001818/0.001818, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.002068/0.002068, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.339/3.339, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.474e-05, allocations: 2.844 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004092/0.004127, allocations: 1.489 MB / 0.8789 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.006069, allocations: 0.5328 MB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.006121, allocations: 0.5 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.006151, allocations: 0.6875 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.006437, allocations: 32.62 kB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.006642, allocations: 37.3 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.006774, allocations: 47.86 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006875, allocations: 7.984 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.007087, allocations: 43.89 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.007188, allocations: 21.28 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.007217, allocations: 4 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.00729, allocations: 23.86 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.007314, allocations: 5.906 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.007376, allocations: 19.97 kB / 0.8797 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.007573, allocations: 63.78 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.007576, allocations: 0 / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.674e-06/0.007578, allocations: 3.938 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.007582, allocations: 3.531 kB / 0.8797 GB, free: 4.359 MB / 0.8386 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.0008966/0.008479, allocations: 384.2 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.008526, allocations: 8.031 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.008816, allocations: 24.81 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.008999, allocations: 112.6 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.009018, allocations: 384 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.009036, allocations: 5.312 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.009219, allocations: 62.22 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.009228, allocations: 192 / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.009247, allocations: 5.391 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.009255, allocations: 3.938 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.009369, allocations: 31.92 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.01007, allocations: 284.8 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.01041, allocations: 84.25 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.01049, allocations: 23.67 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.01052, allocations: 4 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.01074, allocations: 85.88 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.01075, allocations: 0 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003724/0.01112, allocations: 102.2 kB / 0.8809 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.01119, allocations: 59.41 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01137, allocations: 170.7 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.0114, allocations: 25.7 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01152, allocations: 135.9 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.01157, allocations: 15.91 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.01165, allocations: 31.36 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003667/0.01202, allocations: 0.4933 MB / 0.8818 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.01209, allocations: 12 kB / 0.8818 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.01216, allocations: 19.98 kB / 0.8818 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.0123, allocations: 48.86 kB / 0.8819 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.0123, allocations: 0 / 0.8819 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002727/0.01258, allocations: 102.3 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.0126, allocations: 6.344 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.0126, allocations: 0.9688 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01262, allocations: 0 / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01274, allocations: 19.92 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01275, allocations: 0.75 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.01283, allocations: 7.938 kB / 0.882 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01285, allocations: 3.5 kB / 0.882 GB, free: 1.832 MB / 0.8386 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 0.0001778/0.01302, allocations: 164.6 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.01306, allocations: 11.89 kB / 0.8822 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.01339, allocations: 117.7 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.0134, allocations: 0 / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0134, allocations: 0 / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01341, allocations: 0 / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01362, allocations: 132.6 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01362, allocations: 0.625 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.427e-05/0.01371, allocations: 12.59 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.01372, allocations: 3.938 kB / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.01374, allocations: 4.797 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01374, allocations: 0 / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01375, allocations: 0.8438 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.01407, allocations: 140.3 kB / 0.8826 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.01409, allocations: 5.531 kB / 0.8826 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.01412, allocations: 7.938 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.01419, allocations: 7.938 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.01426, allocations: 3.984 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01427, allocations: 11.98 kB / 0.8826 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001119/0.01438, allocations: 127.4 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01438, allocations: 3.938 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00036/0.01474, allocations: 15.95 kB / 0.8827 GB, free: 1.004 MB / 0.8386 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.0001664/0.01491, allocations: 103.4 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01517, allocations: 71.59 kB / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01517, allocations: 0 / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01528, allocations: 35.67 kB / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01552, allocations: 13.3 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.01601, allocations: 166.1 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01613, allocations: 71.2 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.668e-05/0.01618, allocations: 4 kB / 0.8832 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.01624, allocations: 20.48 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.01625, allocations: 0 / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of Templates: time 0.004926/0.02117, allocations: 0.7374 MB / 0.8839 GB, free: 15.73 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.362078520003706]