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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009751/0.0009752, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001171/0.001171, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.048/3.048, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006541, allocations: 10.09 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.405, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001602/0.4067, allocations: 1.151 MB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000765/0.4074, allocations: 486.9 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.4075, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.4075, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.4077, allocations: 15.91 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.4079, allocations: 27.91 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.408, allocations: 47.84 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.4081, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.4081, allocations: 23.92 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.4082, allocations: 27.91 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4082, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.4083, allocations: 7.938 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.4083, allocations: 3.984 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.4083, allocations: 29.7 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.084e-05/0.4084, allocations: 36.16 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4084, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4084, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4084, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 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.0005225/0.4089, allocations: 343.4 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.409, allocations: 11.97 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.409, allocations: 7.906 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4091, allocations: 167 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4092, allocations: 8 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.4092, allocations: 3.953 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.4093, allocations: 57.66 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4093, allocations: 4 kB / 1.06 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4093, allocations: 4 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4093, allocations: 0 / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.4094, allocations: 23.98 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.4098, allocations: 272.8 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.41, allocations: 70.61 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.4101, allocations: 24.84 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4101, allocations: 0 / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.4103, allocations: 75.23 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.4103, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002275/0.4105, allocations: 89.66 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4106, allocations: 51.41 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.4107, allocations: 109.8 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4107, allocations: 25.7 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.4107, allocations: 84.12 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.4108, allocations: 19.83 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4108, allocations: 0 / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4109, allocations: 322.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.4109, allocations: 19.91 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.411, allocations: 12 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.411, allocations: 19.98 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.411, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.4112, allocations: 73.59 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4112, allocations: 4 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4112, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.4112, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.4113, allocations: 12.23 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4113, allocations: 3.938 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.4114, allocations: 8 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4114, allocations: 4.234 kB / 1.062 GB, free: 1.34 MB / 0.8106 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 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.4115, allocations: 129.7 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.4115, allocations: 4 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4117, allocations: 105.5 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4117, allocations: 4 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4117, allocations: 0 / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4117, allocations: 0 / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4119, allocations: 181.6 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4119, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.412, allocations: 12 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.412, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.412, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.412, allocations: 3.938 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.412, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4122, allocations: 117 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.4122, allocations: 92.98 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4123, allocations: 0 / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.4123, allocations: 8 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4124, allocations: 11.98 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.4124, allocations: 0 / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.4125, allocations: 83.28 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4125, allocations: 4 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002149/0.4127, allocations: 11.98 kB / 1.062 GB, free: 488 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.4128, allocations: 103.2 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.413, allocations: 44.17 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.413, allocations: 11.94 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.413, allocations: 31.92 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4132, allocations: 8 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.4135, allocations: 156.6 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4138, allocations: 0.6809 MB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.4139, allocations: 8.516 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.4139, allocations: 15.42 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4139, allocations: 0 / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.002567/0.4165, allocations: 0.6046 MB / 1.064 GB, free: 14.77 MB / 0.8262 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=480 -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/jenkins/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