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.0007597/0.0007597, 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.0008401/0.0008401, allocations: 169.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.9082/0.9082, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.752/1.752, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.912e-05, allocations: 2.281 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001922/0.001941, allocations: 1.474 MB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.002635, allocations: 0.5259 MB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.002672, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.0027, allocations: 3.938 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.002913, allocations: 27.8 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003041, allocations: 31.84 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.003121, allocations: 59.77 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.003213, allocations: 11.98 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.00335, allocations: 35.92 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.003418, allocations: 27.89 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.003434, allocations: 4 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.003476, allocations: 12 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.003492, allocations: 11.97 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.003528, allocations: 19.92 kB / 0.9832 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003644, allocations: 59.84 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003646, allocations: 0 / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003648, allocations: 0 / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.003652, allocations: 4 kB / 0.9832 GB, free: 296 kB / 0.9323 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.0004672/0.004119, allocations: 286.2 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.004157, allocations: 8.031 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.004186, allocations: 34.75 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.004306, allocations: 8.922 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.004395, allocations: 117.8 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.004409, allocations: 8.359 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.004419, allocations: 12.31 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.004521, allocations: 58.23 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.004528, allocations: 192 / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.004537, allocations: 4.125 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004543, allocations: 4 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.004599, allocations: 27.92 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.004955, allocations: 251.8 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.005138, allocations: 78.55 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.00517, allocations: 16.86 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.005185, allocations: 4 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.005332, allocations: 71.38 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.005333, allocations: 0 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001943/0.005527, allocations: 105.6 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.005563, allocations: 51.41 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.005622, allocations: 106 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005634, allocations: 25.7 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.005669, allocations: 88.14 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.005691, allocations: 19.84 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.005724, allocations: 21.72 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.005803, allocations: 318.8 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.005835, allocations: 23.98 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.005859, allocations: 12 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.005922, allocations: 48.78 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.005925, allocations: 3.938 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.311e-05/0.006018, allocations: 81.62 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006031, allocations: 8.281 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006036, allocations: 48 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006048, allocations: 3.984 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.0061, allocations: 15.92 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006105, allocations: 0 / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.006145, allocations: 19.89 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.006153, allocations: 3.984 kB / 0.9851 GB, free: 14.18 MB / 0.948 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 6.026e-05/0.006213, allocations: 117.8 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.006221, allocations: 4 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.006366, allocations: 105.7 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.00637, allocations: 4 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006373, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006377, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.128e-05/0.006468, allocations: 152.6 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006469, allocations: 4 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.006502, allocations: 15.94 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006504, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.006512, allocations: 3.938 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006514, allocations: 4 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006515, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.006621, allocations: 125 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.006634, allocations: 15.94 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.006646, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.006681, allocations: 4 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.00671, allocations: 3.984 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.006717, allocations: 12 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.006744, allocations: 83.27 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006744, allocations: 192 / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001288/0.006873, allocations: 16 kB / 0.9857 GB, free: 13.45 MB / 0.948 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.000293/0.007166, allocations: 0.6597 MB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.007276, allocations: 55.91 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007277, allocations: 0 / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.007317, allocations: 27.92 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.007437, allocations: 8 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.008328, allocations: 1.273 MB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.008372, allocations: 71.33 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.008405, allocations: 4 kB / 0.9878 GB, free: 11.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.008456, allocations: 20.48 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.008457, allocations: 0.5625 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.02368, allocations: 2.374 MB / 0.9901 GB, free: 9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.704, allocations: 12.22 kB / 0.9901 GB, free: 8.992 MB / 0.948 GB " [Timeout remaining time 293] (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/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: 10.776917356066406]