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.001248/0.001248, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001303/0.001303, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.314/2.314, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 71.59 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2735, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003056/0.2766, allocations: 1.456 MB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.2775, allocations: 0.5026 MB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.2776, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.2776, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.278, allocations: 23.86 kB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2781, allocations: 23.91 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.788e-05/0.2782, allocations: 51.84 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.2783, allocations: 8 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.2784, allocations: 27.91 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.2785, allocations: 23.91 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2785, allocations: 4 kB / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.2785, allocations: 4 kB / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2786, allocations: 8 kB / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.2786, allocations: 31.78 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.2787, allocations: 48.09 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2787, allocations: 0 / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2787, allocations: 4 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2787, allocations: 0 / 0.9524 GB, free: 6.645 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.0005785/0.2793, allocations: 343.5 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2794, allocations: 8.031 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.2794, allocations: 12.83 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2795, allocations: 168.3 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2796, allocations: 4.375 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2796, allocations: 4.375 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2797, allocations: 61.97 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2797, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2797, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2798, allocations: 4 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.2798, allocations: 31.91 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2802, allocations: 272.8 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.2804, allocations: 70.66 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.2805, allocations: 24.8 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2805, allocations: 3.938 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2807, allocations: 75.38 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2807, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002275/0.2809, allocations: 89.67 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2809, allocations: 55.41 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.281, allocations: 105.8 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.281, allocations: 25.7 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.2811, allocations: 84.14 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.2811, allocations: 23.64 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.2812, allocations: 21.72 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2813, allocations: 322.8 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.2813, allocations: 16.08 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.2814, allocations: 23.95 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.2814, allocations: 32.86 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2815, allocations: 0 / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000119/0.2816, allocations: 73.61 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2816, allocations: 8 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2816, allocations: 0 / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2816, allocations: 3.938 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.2817, allocations: 8 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2817, allocations: 0 / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.2818, allocations: 15.98 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.2818, allocations: 0 / 0.9543 GB, free: 4.465 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 8.671e-05/0.2819, allocations: 117.3 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.2819, allocations: 7.906 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2822, allocations: 101.6 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2822, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2822, allocations: 4 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2822, allocations: 0 / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.2824, allocations: 189.6 kB / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2824, allocations: 0 / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.2825, allocations: 11.98 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2825, allocations: 0 / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2825, allocations: 4 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2825, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2825, allocations: 4.031 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2828, allocations: 120.9 kB / 0.9549 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.2829, allocations: 89.05 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2829, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.283, allocations: 12.17 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.283, allocations: 4 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2831, allocations: 7.984 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.2831, allocations: 83.28 kB / 0.9551 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2831, allocations: 0 / 0.9551 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002294/0.2833, allocations: 16 kB / 0.9551 GB, free: 3.602 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.0001408/0.2835, allocations: 103.2 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.2837, allocations: 55.84 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2837, allocations: 0 / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.2838, allocations: 31.92 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.284, allocations: 8 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.2843, allocations: 171.2 kB / 0.9554 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2846, allocations: 0.6922 MB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.2846, allocations: 11.44 kB / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2846, allocations: 0 / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.002082/0.2867, allocations: 0.832 MB / 0.9569 GB, free: 1.641 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