Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001442/0.001442, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6649 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6563, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00224/0.6586, allocations: 1.519 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006169/0.6593, allocations: 0.4884 MB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.6593, allocations: 1.375 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.6593, allocations: 15.86 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.6595, allocations: 13.42 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.169e-05/0.6596, allocations: 21.48 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.6597, allocations: 48.47 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.6598, allocations: 10.72 kB / 0.9516 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.6599, allocations: 22.92 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.6599, allocations: 24.16 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.66, allocations: 6.75 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.66, allocations: 1.375 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.66, allocations: 10.73 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.66, allocations: 25.3 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.972e-05/0.6601, allocations: 26.17 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6601, allocations: 0 / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6601, allocations: 0 / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.6601, allocations: 0 / 0.9518 GB, free: 7.445 MB / 0.7169 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.0004777/0.6606, allocations: 358.6 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.6607, allocations: 9.625 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.6607, allocations: 6.219 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.6608, allocations: 164.5 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6608, allocations: 1.75 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.6608, allocations: 9.734 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.6609, allocations: 62.34 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.6609, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.661, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.661, allocations: 1.375 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.661, allocations: 28.3 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.6613, allocations: 277.3 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.6615, allocations: 62.86 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.6616, allocations: 21.62 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.6616, allocations: 13.16 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.6618, allocations: 68.45 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.6618, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002061/0.662, allocations: 88.56 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.662, allocations: 56.53 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.6621, allocations: 105 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.6621, allocations: 25.7 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.6621, allocations: 89.81 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.6621, allocations: 13.09 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.6622, allocations: 22.77 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.6622, allocations: 316 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.6623, allocations: 16.2 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.6623, allocations: 23.48 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.6624, allocations: 42.55 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6624, allocations: 0 / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.6625, allocations: 78.58 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6625, allocations: 5.531 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6625, allocations: 0 / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6625, allocations: 1.062 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.6626, allocations: 15.45 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6626, allocations: 1.844 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.6627, allocations: 1.438 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.6627, allocations: 1.562 kB / 0.9537 GB, free: 5.527 MB / 0.7169 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 5.252e-05/0.6628, allocations: 121.8 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.6628, allocations: 9.406 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.663, allocations: 113 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.663, allocations: 0 / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.663, allocations: 1.375 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.663, allocations: 0 / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.683e-05/0.6631, allocations: 182 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6631, allocations: 192 / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.6632, allocations: 14.31 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6632, allocations: 0 / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6632, allocations: 9.422 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6632, allocations: 0 / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6632, allocations: 1.406 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.6633, allocations: 117.8 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.6634, allocations: 86.25 kB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.6634, allocations: 1.344 kB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.6635, allocations: 6.344 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.6635, allocations: 11.83 kB / 0.9543 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.6635, allocations: 7.156 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.6636, allocations: 86.97 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6636, allocations: 0 / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001863/0.6638, allocations: 10.28 kB / 0.9544 GB, free: 4.785 MB / 0.7169 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 9.106e-05/0.6639, allocations: 106.5 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.664, allocations: 51.95 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.664, allocations: 0 / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.6641, allocations: 35.39 kB / 0.9546 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.6642, allocations: 5.438 kB / 0.9546 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.6645, allocations: 181 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.628e-05/0.6646, allocations: 0.6836 MB / 0.9554 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6646, allocations: 18.67 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6646, allocations: 1.625 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.001972/0.6666, allocations: 0.8142 MB / 0.9562 GB, free: 3.344 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches