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.0013/0.001301, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001454/0.001454, allocations: 191 kB / 17.29 MB, free: 5.516 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.41 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002399/0.2895, allocations: 1.458 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.2903, allocations: 0.5024 MB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.2903, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2904, allocations: 3.938 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2906, allocations: 23.84 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9e-05/0.2907, allocations: 23.98 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.2908, allocations: 55.86 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.2909, allocations: 8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.2909, allocations: 27.77 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.291, allocations: 27.95 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2911, allocations: 4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.2911, allocations: 7.938 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2911, allocations: 7.984 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.2911, allocations: 15.94 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.714e-05/0.2912, allocations: 51.8 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2912, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2913, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2913, allocations: 0 / 1.029 GB, free: 15.82 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.0005348/0.2918, allocations: 347.5 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2918, allocations: 12.03 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.2919, allocations: 0.9375 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.292, allocations: 168.3 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.292, allocations: 8.312 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.292, allocations: 8.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2922, allocations: 61.97 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2922, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2922, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2922, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.2923, allocations: 27.92 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.2926, allocations: 276.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2928, allocations: 78.53 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.2929, allocations: 24.84 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2929, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.293, allocations: 63.39 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2931, allocations: 0 / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002267/0.2933, allocations: 97.78 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.2933, allocations: 55.41 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.2934, allocations: 101.9 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2934, allocations: 25.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2935, allocations: 84.05 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.2935, allocations: 23.73 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.2935, allocations: 17.72 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.2936, allocations: 322.8 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.2937, allocations: 12.06 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.2937, allocations: 23.98 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.2938, allocations: 40.94 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2938, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001156/0.2939, allocations: 69.67 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.294, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.294, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.294, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.2941, allocations: 11.98 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2941, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.2941, allocations: 8 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2942, allocations: 4 kB / 1.031 GB, free: 13.65 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 (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.525e-05/0.2942, allocations: 109.8 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2943, allocations: 15.83 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.2945, allocations: 97.64 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2945, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2945, allocations: 3.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2945, allocations: 3.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2946, allocations: 185.7 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2946, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.2947, allocations: 15.98 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2947, allocations: 3.938 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2947, allocations: 96 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2947, allocations: 3.938 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2947, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.2949, allocations: 124.9 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.295, allocations: 81.05 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.295, allocations: 11.98 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.2951, allocations: 4 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.2951, allocations: 7.984 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.2951, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.2952, allocations: 87.28 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2952, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001926/0.2954, allocations: 12 kB / 1.032 GB, free: 12.79 MB / 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 (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.589e-05/0.2955, allocations: 103.2 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2956, allocations: 55.86 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2956, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.2957, allocations: 35.92 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2958, allocations: 6.5 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.2961, allocations: 141.5 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2964, allocations: 0.6807 MB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.2964, allocations: 12.31 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.2964, allocations: 15.42 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2964, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.002546/0.299, allocations: 0.6917 MB / 1.033 GB, free: 11 MB / 0.8106 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 -s gbode -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