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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001294/0.001294, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001201/0.001201, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.8 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002738/0.2649, allocations: 1.512 MB / 0.9512 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.2658, allocations: 0.4948 MB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.2658, allocations: 0 / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.2659, allocations: 4 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.2661, allocations: 15.92 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.2663, allocations: 23.97 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.2664, allocations: 47.86 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.2665, allocations: 11.98 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2666, allocations: 23.91 kB / 0.9519 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.2667, allocations: 23.86 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2667, allocations: 4 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.2667, allocations: 8 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.2667, allocations: 11.98 kB / 0.9519 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.2668, allocations: 23.86 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.2669, allocations: 32.16 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2669, allocations: 0 / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2669, allocations: 0 / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2669, allocations: 0 / 0.952 GB, free: 6.98 MB / 0.7325 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.0005774/0.2675, allocations: 351.5 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2676, allocations: 12.03 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2676, allocations: 8.828 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2677, allocations: 168.3 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2678, allocations: 384 / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2678, allocations: 4.375 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.2679, allocations: 61.92 kB / 0.9525 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2679, allocations: 0 / 0.9525 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.268, allocations: 4 kB / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.268, allocations: 0 / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.2681, allocations: 31.95 kB / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.2684, allocations: 276.7 kB / 0.9528 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2687, allocations: 70.61 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.2687, allocations: 20.86 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2687, allocations: 4 kB / 0.9529 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.2689, allocations: 71.38 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2689, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002357/0.2692, allocations: 89.61 kB / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2692, allocations: 51.41 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.2693, allocations: 105.8 kB / 0.9532 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2693, allocations: 29.7 kB / 0.9533 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.2694, allocations: 88.08 kB / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2694, allocations: 27.64 kB / 0.9534 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.2695, allocations: 17.72 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.2696, allocations: 322.7 kB / 0.9537 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.2696, allocations: 16 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.2696, allocations: 19.98 kB / 0.9537 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.2697, allocations: 41 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2697, allocations: 0 / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001221/0.2699, allocations: 77.67 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2699, allocations: 8 kB / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2699, allocations: 0 / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2699, allocations: 0 / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.27, allocations: 8 kB / 0.9539 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.27, allocations: 4 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.2701, allocations: 3.984 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2701, allocations: 4 kB / 0.9539 GB, free: 4.797 MB / 0.7325 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 7.663e-05/0.2702, allocations: 113.8 kB / 0.954 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.2702, allocations: 11.91 kB / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2704, allocations: 105.6 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2704, allocations: 256 / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2704, allocations: 0 / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2704, allocations: 4 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.2706, allocations: 177.6 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2706, allocations: 0 / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.2706, allocations: 23.92 kB / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2707, allocations: 0 / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2707, allocations: 0 / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2707, allocations: 4 kB / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2707, allocations: 0 / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.2709, allocations: 128.9 kB / 0.9544 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.2709, allocations: 81.05 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2709, allocations: 0 / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.271, allocations: 11.98 kB / 0.9545 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.271, allocations: 4 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2711, allocations: 11.98 kB / 0.9545 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.2711, allocations: 83.28 kB / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2711, allocations: 0 / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001887/0.2713, allocations: 8 kB / 0.9546 GB, free: 3.938 MB / 0.7325 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.0001112/0.2714, allocations: 103.6 kB / 0.9547 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.2716, allocations: 63.78 kB / 0.9548 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2716, allocations: 0 / 0.9548 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.2717, allocations: 35.92 kB / 0.9548 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2718, allocations: 10 kB / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.2722, allocations: 195.2 kB / 0.955 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2724, allocations: 0.6844 MB / 0.9557 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.2724, allocations: 11.44 kB / 0.9557 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2724, allocations: 0 / 0.9557 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of Templates: time 0.002074/0.2745, allocations: 0.8305 MB / 0.9565 GB, free: 1.953 MB / 0.7325 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