Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001662/0.001662, allocations: 81.08 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001553/0.001553, allocations: 158.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.839/2.839, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.06e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003704/0.003735, allocations: 1.469 MB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.00513, allocations: 0.522 MB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.005197, allocations: 4 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.005239, allocations: 3.984 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.005546, allocations: 19.8 kB / 0.9834 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.005772, allocations: 35.89 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.005919, allocations: 55.72 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006029, allocations: 11.94 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.006256, allocations: 39.95 kB / 0.9835 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006368, allocations: 23.91 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.006397, allocations: 8 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.006478, allocations: 19.92 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.006506, allocations: 7.984 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.006571, allocations: 19.92 kB / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.006785, allocations: 63.83 kB / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006787, allocations: 0 / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.81e-07/0.006788, allocations: 0 / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.006793, allocations: 0 / 0.9837 GB, free: 9.633 MB / 0.9356 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.0007662/0.007559, allocations: 286.2 kB / 0.984 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.007609, allocations: 8.031 kB / 0.984 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.007866, allocations: 12.94 kB / 0.984 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.008033, allocations: 117.7 kB / 0.9841 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.008056, allocations: 4.375 kB / 0.9841 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.008078, allocations: 8.375 kB / 0.9841 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.008267, allocations: 58.22 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.008279, allocations: 192 / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.008298, allocations: 8.359 kB / 0.9842 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.008306, allocations: 3.938 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.008414, allocations: 31.98 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.00897, allocations: 220.5 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.009275, allocations: 70.55 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.009347, allocations: 24.84 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.009369, allocations: 4 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.009608, allocations: 79.38 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.00961, allocations: 0 / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000361/0.009971, allocations: 101.6 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.01003, allocations: 59.39 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01015, allocations: 97.86 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01018, allocations: 29.7 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.01024, allocations: 88.12 kB / 0.9849 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.01028, allocations: 23.8 kB / 0.985 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.01036, allocations: 21.7 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01052, allocations: 314.8 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.01059, allocations: 19.98 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.01065, allocations: 23.88 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.01078, allocations: 48.84 kB / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01078, allocations: 0 / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/0.011, allocations: 85.56 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.01103, allocations: 7.984 kB / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01103, allocations: 0 / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.01105, allocations: 0 / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01116, allocations: 8 kB / 0.9855 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.01117, allocations: 4 kB / 0.9855 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.01126, allocations: 3.984 kB / 0.9855 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01128, allocations: 8 kB / 0.9855 GB, free: 7.613 MB / 0.9356 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.0001162/0.0114, allocations: 117.8 kB / 0.9856 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01142, allocations: 7.891 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.01171, allocations: 106 kB / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01172, allocations: 0 / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01172, allocations: 0 / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01173, allocations: 96 / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.0119, allocations: 125.2 kB / 0.9858 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0119, allocations: 0 / 0.9858 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.01199, allocations: 23.92 kB / 0.9858 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.012, allocations: 3.938 kB / 0.9858 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01201, allocations: 4 kB / 0.9858 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01201, allocations: 3.938 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01201, allocations: 0 / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.01227, allocations: 125 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.0123, allocations: 11.89 kB / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.01233, allocations: 7.922 kB / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.01242, allocations: 12 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.01247, allocations: 3.984 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01248, allocations: 4 kB / 0.986 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.01255, allocations: 87.27 kB / 0.9861 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01255, allocations: 0 / 0.9861 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003087/0.01286, allocations: 16 kB / 0.9861 GB, free: 6.906 MB / 0.9356 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.0001454/0.013, allocations: 99.25 kB / 0.9862 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.01321, allocations: 55.91 kB / 0.9863 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01321, allocations: 0 / 0.9863 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.0133, allocations: 31.94 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01351, allocations: 0 / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.01397, allocations: 153.2 kB / 0.9864 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.061e-05/0.01406, allocations: 79.33 kB / 0.9865 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.01411, allocations: 8.312 kB / 0.9865 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.01417, allocations: 16.48 kB / 0.9865 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.01417, allocations: 0 / 0.9865 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of Templates: time 0.004494/0.01866, allocations: 0.7214 MB / 0.9872 GB, free: 5.707 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.8721426129341125]