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.00171/0.00171, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002075/0.002075, allocations: 215 kB / 20.13 MB, free: 2.949 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.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.978/2.978, allocations: 476.7 MB / 0.7678 GB, free: 9.488 MB / 0.6075 GB " [Timeout remaining time 176] 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.002007/0.002007, allocations: 63.84 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003103/1.181, allocations: 1.465 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00129/1.182, allocations: 0.5777 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/1.182, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/1.182, allocations: 8.625 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/1.182, allocations: 24.42 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/1.182, allocations: 34.3 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/1.183, allocations: 43.25 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/1.183, allocations: 19.39 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/1.183, allocations: 30.42 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/1.183, allocations: 25.89 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/1.183, allocations: 3.594 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/1.183, allocations: 13.56 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/1.183, allocations: 9.281 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/1.183, allocations: 19.44 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/1.183, allocations: 46.52 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.183, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.183, allocations: 1.094 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.183, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 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.0007556/1.184, allocations: 361.1 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.184, allocations: 13.53 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/1.184, allocations: 1.188 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/1.184, allocations: 36.39 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/1.184, allocations: 11.09 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.185, allocations: 177.3 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.185, allocations: 5.312 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/1.185, allocations: 4.312 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.185, allocations: 58.7 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.185, allocations: 0 / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.185, allocations: 0.7969 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.185, allocations: 1.344 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/1.185, allocations: 28.94 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/1.185, allocations: 278.2 kB / 1.282 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/1.186, allocations: 58.66 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/1.186, allocations: 19.33 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/1.186, allocations: 5 kB / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/1.186, allocations: 76.22 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.186, allocations: 4 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003269/1.186, allocations: 93.12 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.186, allocations: 52.5 kB / 1.282 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.186, allocations: 103.2 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/1.186, allocations: 30.73 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/1.187, allocations: 81.78 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/1.187, allocations: 20.34 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/1.187, allocations: 20.36 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.187, allocations: 322.2 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/1.187, allocations: 16.69 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/1.187, allocations: 18.73 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/1.187, allocations: 35.72 kB / 1.283 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.187, allocations: 1.25 kB / 1.283 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/1.187, allocations: 75.89 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.187, allocations: 5.375 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.187, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.187, allocations: 1.672 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/1.187, allocations: 18.17 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.187, allocations: 1.219 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/1.187, allocations: 7.953 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.187, allocations: 2.062 kB / 1.283 GB, free: 8.324 MB / 0.9981 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 0.0001025/1.187, allocations: 123.4 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/1.187, allocations: 5.172 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/1.188, allocations: 105.3 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.188, allocations: 5.109 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.188, allocations: 4 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.188, allocations: 0.75 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/1.188, allocations: 177.1 kB / 1.284 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.188, allocations: 1.062 kB / 1.284 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/1.188, allocations: 13.81 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.188, allocations: 1.828 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.188, allocations: 1.922 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.188, allocations: 0 / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.188, allocations: 1.797 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/1.188, allocations: 129.4 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/1.188, allocations: 84.83 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.188, allocations: 0.6094 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/1.188, allocations: 8.125 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/1.188, allocations: 6.734 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/1.188, allocations: 3.328 kB / 1.284 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.491e-05/1.188, allocations: 88.7 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.188, allocations: 0 / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001982/1.189, allocations: 15.03 kB / 1.284 GB, free: 7.629 MB / 0.9981 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.000582/1.189, allocations: 0.6581 MB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001723/1.189, allocations: 45.12 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.189, allocations: 3.938 kB / 1.285 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/1.19, allocations: 22.98 kB / 1.285 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/1.19, allocations: 15.48 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.191, allocations: 1.236 MB / 1.286 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/1.191, allocations: 0.6889 MB / 1.287 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.025e-05/1.191, allocations: 5.719 kB / 1.287 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/1.191, allocations: 21.28 kB / 1.287 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.191, allocations: 3.938 kB / 1.287 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/1.21, allocations: 1.71 MB / 1.288 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/9.495, allocations: 9.5 kB / 1.288 GB, free: 4.719 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.234698612999637]