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.001784/0.001784, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002292/0.002292, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7715 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 64.67 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.314, allocations: 170 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003434/0.3174, allocations: 1.483 MB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3186, allocations: 0.5861 MB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.3187, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.3187, allocations: 7.922 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.319, allocations: 11.92 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3191, allocations: 35.91 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3192, allocations: 47.84 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.3193, allocations: 11.78 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3195, allocations: 35.86 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3196, allocations: 23.91 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3196, allocations: 7.984 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.3197, allocations: 16 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3197, allocations: 4 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.3198, allocations: 19.86 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3199, allocations: 51.86 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3199, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3199, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3199, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 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.0006193/0.3206, allocations: 282.3 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3206, allocations: 12.03 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.3206, allocations: 4.188 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.3207, allocations: 34.69 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.3208, allocations: 16.88 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.321, allocations: 106.5 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.321, allocations: 12.38 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.321, allocations: 384 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3212, allocations: 57.61 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3212, allocations: 3.984 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3212, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3212, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.3213, allocations: 27.98 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3217, allocations: 255.8 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3219, allocations: 62.67 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.322, allocations: 16.86 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.322, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.3222, allocations: 79.31 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3222, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002508/0.3224, allocations: 89.62 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3225, allocations: 55.41 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.3226, allocations: 101.8 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3226, allocations: 33.64 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.3227, allocations: 84.14 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3227, allocations: 19.84 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3228, allocations: 25.66 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3229, allocations: 318.8 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.3229, allocations: 19.94 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.323, allocations: 19.98 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/0.3231, allocations: 32.86 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3231, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001459/0.3232, allocations: 73.92 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3232, allocations: 8 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3232, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3232, allocations: 3.984 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.3233, allocations: 11.94 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3233, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.3234, allocations: 11.98 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3234, allocations: 240 / 1.288 GB, free: 7.43 MB / 0.9825 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.911e-05/0.3235, allocations: 121.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3235, allocations: 3.953 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3237, allocations: 109.6 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3237, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3237, allocations: 4 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3237, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3239, allocations: 156.7 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3239, allocations: 0 / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.324, allocations: 12 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.324, allocations: 7.984 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.324, allocations: 256 / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.324, allocations: 4 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.324, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.3242, allocations: 125 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.3242, allocations: 4 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3242, allocations: 4 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.3243, allocations: 11.98 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3243, allocations: 7.984 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3243, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.3244, allocations: 83.28 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3244, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001947/0.3246, allocations: 19.88 kB / 1.289 GB, free: 6.688 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.0005219/0.3251, allocations: 0.6631 MB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.3252, allocations: 43.98 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3253, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.3253, allocations: 31.92 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3255, allocations: 8.219 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3268, allocations: 1.223 MB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3272, allocations: 0.6924 MB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.3272, allocations: 4 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.3273, allocations: 23.42 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3273, allocations: 384 / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3497, allocations: 1.81 MB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.61, allocations: 14.44 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.33232359000249]