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.001323/0.001323, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001417/0.001417, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.982/2.982, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_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.001979/0.001979, allocations: 67.89 kB / 1.15 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 176.1 MB / 1.321 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002812/1.08, allocations: 1.475 MB / 1.323 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00103/1.081, allocations: 0.5727 MB / 1.323 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/1.081, allocations: 0 / 1.323 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/1.081, allocations: 3.938 kB / 1.323 GB, free: 6.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/1.081, allocations: 20.81 kB / 1.324 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/1.081, allocations: 40.28 kB / 1.324 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/1.081, allocations: 44.75 kB / 1.324 GB, free: 6.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/1.081, allocations: 6.422 kB / 1.324 GB, free: 6.121 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/1.081, allocations: 37.19 kB / 1.324 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/1.081, allocations: 24.38 kB / 1.324 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/1.081, allocations: 4 kB / 1.324 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/1.081, allocations: 16 kB / 1.324 GB, free: 6.074 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/1.081, allocations: 18.34 kB / 1.324 GB, free: 6.059 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/1.082, allocations: 12.97 kB / 1.324 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/1.082, allocations: 51.36 kB / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.082, allocations: 0 / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/1.082, allocations: 0 / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.082, allocations: 3.938 kB / 1.324 GB, free: 6.012 MB / 1.014 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.0006124/1.082, allocations: 353.9 kB / 1.324 GB, free: 5.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.082, allocations: 17.36 kB / 1.324 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.578e-05/1.082, allocations: 1.219 kB / 1.324 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/1.082, allocations: 43.89 kB / 1.324 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/1.083, allocations: 12.02 kB / 1.324 GB, free: 5.578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.083, allocations: 171.5 kB / 1.324 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.083, allocations: 1.656 kB / 1.324 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/1.083, allocations: 3.438 kB / 1.324 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/1.083, allocations: 57.36 kB / 1.324 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.083, allocations: 4 kB / 1.324 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.083, allocations: 4 kB / 1.324 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.083, allocations: 5.141 kB / 1.324 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/1.083, allocations: 24.64 kB / 1.324 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/1.083, allocations: 273 kB / 1.325 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/1.084, allocations: 59.94 kB / 1.325 GB, free: 4.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/1.084, allocations: 24.84 kB / 1.325 GB, free: 4.938 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/1.084, allocations: 1.141 kB / 1.325 GB, free: 4.938 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/1.084, allocations: 81.56 kB / 1.325 GB, free: 4.859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/1.084, allocations: 0 / 1.325 GB, free: 4.859 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0002496/1.084, allocations: 87.77 kB / 1.325 GB, free: 4.801 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.084, allocations: 52.22 kB / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/1.084, allocations: 108.5 kB / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/1.084, allocations: 30.92 kB / 1.325 GB, free: 4.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/1.084, allocations: 85.33 kB / 1.325 GB, free: 4.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.084, allocations: 18.08 kB / 1.325 GB, free: 4.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/1.084, allocations: 21.86 kB / 1.325 GB, free: 4.469 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.084, allocations: 320.8 kB / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/1.084, allocations: 19.2 kB / 1.326 GB, free: 4.137 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/1.085, allocations: 16.14 kB / 1.326 GB, free: 4.129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/1.085, allocations: 38.03 kB / 1.326 GB, free: 4.105 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.085, allocations: 4 kB / 1.326 GB, free: 4.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001263/1.085, allocations: 71.62 kB / 1.326 GB, free: 4.051 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.085, allocations: 4.625 kB / 1.326 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.085, allocations: 3.938 kB / 1.326 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.085, allocations: 1.281 kB / 1.326 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/1.085, allocations: 15.3 kB / 1.326 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.085, allocations: 1.375 kB / 1.326 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/1.085, allocations: 6.469 kB / 1.326 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/1.085, allocations: 5.266 kB / 1.326 GB, free: 4.031 MB / 1.014 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 8.988e-05/1.085, allocations: 120.6 kB / 1.326 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/1.085, allocations: 6.484 kB / 1.326 GB, free: 3.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/1.085, allocations: 100.2 kB / 1.326 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.085, allocations: 1.094 kB / 1.326 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.085, allocations: 1.188 kB / 1.326 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.085, allocations: 0 / 1.326 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.085, allocations: 185.8 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.085, allocations: 1.094 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.085, allocations: 8.469 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.085, allocations: 4.938 kB / 1.326 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/1.085, allocations: 1 kB / 1.326 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.085, allocations: 1.281 kB / 1.326 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.086, allocations: 3.984 kB / 1.326 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/1.086, allocations: 126.1 kB / 1.326 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/1.086, allocations: 86.48 kB / 1.326 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.086, allocations: 1.469 kB / 1.326 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/1.086, allocations: 2.562 kB / 1.326 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.086, allocations: 11.83 kB / 1.326 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.086, allocations: 7 kB / 1.326 GB, free: 3.379 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.128e-05/1.086, allocations: 87.67 kB / 1.326 GB, free: 3.297 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/1.086, allocations: 0 / 1.326 GB, free: 3.297 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000198/1.086, allocations: 20.48 kB / 1.326 GB, free: 3.285 MB / 1.014 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.0004961/1.087, allocations: 0.6492 MB / 1.327 GB, free: 2.664 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001481/1.087, allocations: 43.64 kB / 1.327 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.087, allocations: 3.938 kB / 1.327 GB, free: 2.645 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/1.087, allocations: 29.02 kB / 1.327 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/1.087, allocations: 10.45 kB / 1.327 GB, free: 2.625 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/1.088, allocations: 1.23 MB / 1.328 GB, free: 1.434 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/1.089, allocations: 0.6843 MB / 1.329 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.11e-05/1.089, allocations: 11.98 kB / 1.329 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/1.089, allocations: 14.56 kB / 1.329 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.089, allocations: 5.188 kB / 1.329 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/1.106, allocations: 1.714 MB / 1.331 GB, free: 15.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/9.176, allocations: 10 kB / 1.331 GB, free: 15.83 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.881026953982655]