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.001451/0.001451, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001637/0.001637, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.5 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.47 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002503/0.3407, allocations: 1.457 MB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.3415, allocations: 0.5063 MB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.3415, allocations: 0 / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.3416, allocations: 3.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.3418, allocations: 19.91 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.3419, allocations: 31.91 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.342, allocations: 51.83 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.3421, allocations: 11.94 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.3422, allocations: 23.92 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.3422, allocations: 23.91 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3423, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3423, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.3423, allocations: 15.92 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3424, allocations: 15.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.3425, allocations: 51.81 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3425, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3425, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3425, allocations: 4 kB / 1.029 GB, free: 15.84 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.0005441/0.343, allocations: 347.5 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3431, allocations: 8.031 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3431, allocations: 4.938 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3432, allocations: 172.3 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3433, allocations: 4.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3433, allocations: 4.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3434, allocations: 65.92 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3434, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3434, allocations: 3.984 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3434, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.3435, allocations: 23.98 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3439, allocations: 284.7 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.3441, allocations: 66.62 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.3442, allocations: 24.84 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3442, allocations: 4 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3443, allocations: 71.38 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3443, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002142/0.3446, allocations: 93.61 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3446, allocations: 51.41 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.3447, allocations: 109.8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3447, allocations: 25.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.3447, allocations: 84.05 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3448, allocations: 19.75 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3448, allocations: 25.64 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.3449, allocations: 314.8 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.345, allocations: 19.98 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.345, allocations: 12 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.3451, allocations: 40.84 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3451, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.3452, allocations: 73.78 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3452, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3452, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3453, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.3453, allocations: 11.98 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3453, allocations: 4.062 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.3454, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3454, allocations: 11.98 kB / 1.031 GB, free: 13.66 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 6.961e-05/0.3455, allocations: 113.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.3455, allocations: 7.906 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3457, allocations: 101.6 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3457, allocations: 4 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3457, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3458, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3459, allocations: 185.6 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3459, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.346, allocations: 19.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.346, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.346, allocations: 3.938 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.346, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.346, allocations: 3.984 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.3462, allocations: 124.9 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.3462, allocations: 81.23 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3462, allocations: 4.25 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.3463, allocations: 15.94 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3463, allocations: 7.984 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3464, allocations: 0 / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.3464, allocations: 87.45 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3464, allocations: 4 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001877/0.3466, allocations: 8 kB / 1.032 GB, free: 12.8 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 0.0001107/0.3467, allocations: 107.4 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.3468, allocations: 51.86 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3469, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.3469, allocations: 35.92 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3471, allocations: 4 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.0002973/0.3474, allocations: 141.5 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3476, allocations: 0.6807 MB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3477, allocations: 11.98 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3477, allocations: 11.44 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3477, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.002546/0.3503, allocations: 0.6836 MB / 1.033 GB, free: 11.02 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 cvode -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