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.004566/0.004566, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001104/0.001104, allocations: 197.1 kB / 16.67 MB, free: 5.926 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.074, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002697/1.077, allocations: 1.437 MB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/1.078, allocations: 0.5141 MB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/1.078, allocations: 0 / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/1.078, allocations: 5.109 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/1.078, allocations: 16.91 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/1.078, allocations: 31.45 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.078, allocations: 54.42 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/1.078, allocations: 5.938 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/1.079, allocations: 21.88 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.079, allocations: 33.91 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/1.079, allocations: 4.719 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/1.079, allocations: 3.781 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/1.079, allocations: 7.641 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/1.079, allocations: 20.7 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/1.079, allocations: 49.55 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.079, allocations: 3.938 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/1.079, allocations: 1 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.385e-06/1.079, allocations: 0 / 1.09 GB, free: 4.066 MB / 0.8575 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.0007152/1.08, allocations: 350.5 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.08, allocations: 13.44 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/1.08, allocations: 10 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.08, allocations: 171.4 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.08, allocations: 1.953 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/1.08, allocations: 3.656 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/1.08, allocations: 61.81 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.08, allocations: 1.125 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.08, allocations: 4 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.08, allocations: 1.094 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/1.08, allocations: 21.27 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/1.081, allocations: 286.8 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/1.081, allocations: 68.34 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/1.081, allocations: 20.34 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/1.081, allocations: 1 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/1.082, allocations: 75.67 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/1.082, allocations: 0 / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003313/1.082, allocations: 89.94 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/1.082, allocations: 52.2 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/1.082, allocations: 102.9 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.082, allocations: 30.8 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/1.082, allocations: 86.62 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/1.082, allocations: 15.67 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/1.082, allocations: 20.11 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/1.082, allocations: 322.4 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/1.082, allocations: 13.62 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/1.082, allocations: 18.91 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/1.082, allocations: 35.39 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.083, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001366/1.083, allocations: 76.41 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.083, allocations: 5.812 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.083, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.083, allocations: 1.688 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/1.083, allocations: 13.64 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.083, allocations: 0.8438 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/1.083, allocations: 8.125 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/1.083, allocations: 3.266 kB / 1.092 GB, free: 2.25 MB / 0.8575 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.068e-05/1.083, allocations: 121.3 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/1.083, allocations: 5.281 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/1.083, allocations: 108.2 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.083, allocations: 5.562 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.083, allocations: 1.031 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.083, allocations: 1.031 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/1.083, allocations: 181 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.084, allocations: 4.797 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/1.084, allocations: 18.23 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.084, allocations: 1.641 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.084, allocations: 1.641 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.084, allocations: 0.625 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.084, allocations: 0 / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/1.084, allocations: 126.2 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/1.084, allocations: 81.02 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.084, allocations: 1.297 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/1.084, allocations: 8.391 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/1.084, allocations: 10.02 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.084, allocations: 2.625 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.4e-05/1.084, allocations: 86 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.084, allocations: 0 / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002011/1.084, allocations: 13.69 kB / 1.093 GB, free: 1.547 MB / 0.8575 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/1.084, allocations: 104.2 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001619/1.085, allocations: 53.17 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.085, allocations: 0.6875 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/1.085, allocations: 37.55 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/1.085, allocations: 4.672 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/1.085, allocations: 140.1 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/1.085, allocations: 0.6875 MB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.28e-05/1.085, allocations: 9.172 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/1.085, allocations: 16.45 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/1.085, allocations: 0 / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of Templates: time 0.003483/1.089, allocations: 0.71 MB / 1.094 GB, free: 0.4961 MB / 0.8575 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/jenkins/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