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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009623/0.009624, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001857/0.001857, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9864/0.9879, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003365/0.9913, allocations: 1.442 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.9925, allocations: 0.5182 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.9926, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.9926, allocations: 3.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.993, allocations: 15.86 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.9931, allocations: 27.91 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.9933, allocations: 51.91 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.9934, allocations: 4 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.9935, allocations: 27.84 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.9936, allocations: 31.91 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.9937, allocations: 4 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.9937, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.9937, allocations: 8 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.9938, allocations: 23.84 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.9939, allocations: 43.53 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9939, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9939, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9939, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 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.0007576/0.9947, allocations: 363.4 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.9948, allocations: 8.031 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.9948, allocations: 4.938 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.9951, allocations: 174.2 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.9951, allocations: 384 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.9952, allocations: 8.375 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.9953, allocations: 53.97 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.9953, allocations: 3.984 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.9954, allocations: 12 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9954, allocations: 0 / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.9955, allocations: 23.97 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.9959, allocations: 276.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.9962, allocations: 66.67 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.9962, allocations: 20.86 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.9962, allocations: 0 / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.9965, allocations: 79.31 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.9965, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002769/0.9967, allocations: 93.77 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.9968, allocations: 51.41 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.9969, allocations: 101.8 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.9969, allocations: 37.7 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.997, allocations: 80.14 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.997, allocations: 19.8 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.9971, allocations: 17.72 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9972, allocations: 322.7 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.9973, allocations: 12 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.9973, allocations: 19.98 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.59e-05/0.9974, allocations: 40.86 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9974, allocations: 4 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/0.9975, allocations: 73.83 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9975, allocations: 4 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9976, allocations: 80 / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.9976, allocations: 0 / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.9977, allocations: 11.98 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.9977, allocations: 3.984 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.9978, allocations: 7.906 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.9978, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 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 9.811e-05/0.9979, allocations: 125.7 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.9979, allocations: 4 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.9983, allocations: 109.4 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.9983, allocations: 4 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9983, allocations: 0 / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9983, allocations: 3.984 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.9985, allocations: 181.5 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9985, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.9986, allocations: 15.98 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.9986, allocations: 4 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.9986, allocations: 4 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9986, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9986, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.9988, allocations: 117 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.9988, allocations: 85.02 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.9989, allocations: 0 / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.9989, allocations: 11.98 kB / 1.212 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.999, allocations: 4 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.999, allocations: 7.984 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.9991, allocations: 83.28 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9991, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001941/0.9993, allocations: 12 kB / 1.213 GB, free: 8.336 MB / 0.9356 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.0001415/0.9994, allocations: 107.5 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.9996, allocations: 55.84 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9996, allocations: 0 / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.9997, allocations: 31.92 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.9999, allocations: 8.375 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/1, allocations: 143 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/1.001, allocations: 0.682 MB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.875e-05/1.001, allocations: 7.984 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/1.001, allocations: 23.42 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.001, allocations: 0 / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of Templates: time 0.003056/1.004, allocations: 0.6889 MB / 1.214 GB, free: 6.551 MB / 0.9356 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 -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/jenkins/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