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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 104.7 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002143, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 482.4 MB / 0.755 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.19 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.8424, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002655/0.8451, allocations: 1.503 MB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.846, allocations: 0.5014 MB / 1.084 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.846, allocations: 0 / 1.084 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.8461, allocations: 0.8906 kB / 1.084 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.8463, allocations: 27.52 kB / 1.084 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.8464, allocations: 18.02 kB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.8465, allocations: 54.78 kB / 1.084 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.8466, allocations: 5.281 kB / 1.084 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.8467, allocations: 22.05 kB / 1.084 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.8468, allocations: 33.59 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.8468, allocations: 4.281 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.8468, allocations: 3.562 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.8469, allocations: 16.33 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.8469, allocations: 21.28 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.847, allocations: 30.09 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.847, allocations: 1.562 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.847, allocations: 0 / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.847, allocations: 0 / 1.085 GB, free: 124 kB / 0.8262 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.0006268/0.8477, allocations: 353.5 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8477, allocations: 13.84 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.8477, allocations: 3.281 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.8479, allocations: 172.2 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.8479, allocations: 2.5 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.848, allocations: 3.75 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.8481, allocations: 57.78 kB / 1.085 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8481, allocations: 3.938 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8481, allocations: 1.188 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8482, allocations: 0.9062 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.8482, allocations: 29.08 kB / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.8487, allocations: 276 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.8489, allocations: 71.11 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.849, allocations: 21.09 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.849, allocations: 9.453 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.8492, allocations: 68.05 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.8492, allocations: 0 / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002655/0.8495, allocations: 96.69 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.8496, allocations: 52.41 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8497, allocations: 102.6 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.8497, allocations: 26.83 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.8498, allocations: 85.92 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.8498, allocations: 20.19 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.8498, allocations: 21.55 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.85, allocations: 321.9 kB / 1.086 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.8501, allocations: 14.14 kB / 1.086 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.8501, allocations: 13.59 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.8502, allocations: 35.38 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8502, allocations: 0 / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.8503, allocations: 72.3 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8503, allocations: 12.34 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8504, allocations: 1.219 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8504, allocations: 3.938 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.8505, allocations: 11.03 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8505, allocations: 1.562 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.8506, allocations: 10.66 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.8506, allocations: 3.125 kB / 1.087 GB, free: 14.3 MB / 0.8419 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.0001187/0.8507, allocations: 118.2 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.8507, allocations: 1.75 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.851, allocations: 108.1 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.851, allocations: 1.562 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.851, allocations: 4.609 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.851, allocations: 1.922 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.8512, allocations: 188.4 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8512, allocations: 0 / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.8513, allocations: 15 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8513, allocations: 1.156 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.8513, allocations: 1.75 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8513, allocations: 8.547 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8513, allocations: 1.469 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.8515, allocations: 116.8 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.8516, allocations: 89.23 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.8516, allocations: 0.8125 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.8517, allocations: 4.141 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.8517, allocations: 6.969 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.8518, allocations: 10.73 kB / 1.087 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.8518, allocations: 81.31 kB / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8518, allocations: 0 / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002094/0.8521, allocations: 14.55 kB / 1.087 GB, free: 13.61 MB / 0.8419 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.0001349/0.8522, allocations: 99.8 kB / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.8524, allocations: 57.73 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8524, allocations: 0 / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.8525, allocations: 33.78 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.8526, allocations: 13.78 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.853, allocations: 180 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.8534, allocations: 0.6824 MB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.8534, allocations: 13.22 kB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.8534, allocations: 0 / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.002917/0.8564, allocations: 0.8265 MB / 1.089 GB, free: 12.55 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches