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.001166/0.001166, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001374/0.001374, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8588/0.8588, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.816/1.816, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.28e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001819/0.001842, allocations: 1.455 MB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.002526, allocations: 0.5266 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.00256, allocations: 3.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.002589, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.002807, allocations: 23.8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.002932, allocations: 35.89 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.003009, allocations: 59.78 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.003099, allocations: 7.984 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.00323, allocations: 39.91 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.003294, allocations: 19.91 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003311, allocations: 4 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.003354, allocations: 15.98 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.003371, allocations: 11.98 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.003403, allocations: 11.98 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.003516, allocations: 63.78 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003518, allocations: 11.94 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/0.00352, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003524, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 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.0004472/0.003971, allocations: 286.2 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.004009, allocations: 8.75 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.00404, allocations: 38.72 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.004138, allocations: 8.938 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.608e-05/0.004224, allocations: 117.7 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004237, allocations: 8.375 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.004246, allocations: 384 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.004346, allocations: 58.23 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004354, allocations: 192 / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004365, allocations: 8.125 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004369, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.004427, allocations: 31.91 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.004787, allocations: 244 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.004975, allocations: 70.55 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.005008, allocations: 28.86 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.005024, allocations: 7.922 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.005178, allocations: 71.39 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.00518, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001881/0.005368, allocations: 101.7 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.005405, allocations: 59.39 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.005459, allocations: 101.9 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.005471, allocations: 29.64 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.005506, allocations: 88.12 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.00553, allocations: 19.8 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.005566, allocations: 37.64 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.005644, allocations: 310.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.005677, allocations: 19.98 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.005701, allocations: 16 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.015e-05/0.005761, allocations: 44.84 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.005764, allocations: 3.938 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.532e-05/0.005859, allocations: 89.56 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005871, allocations: 4 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005876, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005888, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.00594, allocations: 12 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.005946, allocations: 7.938 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.005985, allocations: 3.984 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.005994, allocations: 8 kB / 1.004 GB, free: 9.051 MB / 0.9636 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 5.783e-05/0.006052, allocations: 113.8 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.00606, allocations: 4 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.006207, allocations: 109.9 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006208, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.006212, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006215, allocations: 4 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.446e-05/0.00631, allocations: 164.5 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006311, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.006343, allocations: 8 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006346, allocations: 4 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.006353, allocations: 192 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.006354, allocations: 3.938 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.006356, allocations: 3.984 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.006463, allocations: 129 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.006474, allocations: 3.953 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.00649, allocations: 8 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.00652, allocations: 4 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.006555, allocations: 7.984 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.006563, allocations: 11.98 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.006591, allocations: 79.28 kB / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006592, allocations: 0 / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001307/0.006722, allocations: 12 kB / 1.004 GB, free: 8.312 MB / 0.9636 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.0002905/0.007013, allocations: 0.6591 MB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.007123, allocations: 64.12 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007125, allocations: 0 / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.007164, allocations: 31.98 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.007277, allocations: 4 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.008124, allocations: 1.273 MB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.008164, allocations: 71.25 kB / 1.006 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.008196, allocations: 4 kB / 1.006 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.00824, allocations: 20.48 kB / 1.006 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008241, allocations: 4 kB / 1.006 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.02393, allocations: 2.373 MB / 1.009 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.474/6.498, allocations: 6.438 kB / 1.009 GB, free: 3.836 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 840.0] 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: 10.52723025996238]