Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001229/0.001229, allocations: 187 kB / 17.34 MB, free: 5.742 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.218/1.218, allocations: 222.9 MB / 241 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.319/2.319, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 76.09 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6426, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002339/0.645, allocations: 1.598 MB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.6458, allocations: 0.5571 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.6459, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.6459, allocations: 3.938 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.6462, allocations: 43.7 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.6463, allocations: 35.95 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.6465, allocations: 111.6 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.6466, allocations: 19.98 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.6467, allocations: 47.84 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.6468, allocations: 59.75 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.6468, allocations: 8 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.6468, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.6469, allocations: 15.98 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.6469, allocations: 43.78 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.6471, allocations: 99.33 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6471, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6471, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.6471, allocations: 0 / 1.211 GB, free: 10.95 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006492/0.6477, allocations: 409.1 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.6478, allocations: 12.03 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.6478, allocations: 8.844 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.648, allocations: 184.2 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.648, allocations: 4.375 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.648, allocations: 4.375 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6482, allocations: 93.95 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.6482, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6482, allocations: 7.984 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6482, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.6483, allocations: 58.09 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.6488, allocations: 340.6 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.649, allocations: 106.7 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.6491, allocations: 44.83 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6491, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.6493, allocations: 103.2 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.6493, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0002858/0.6496, allocations: 145.8 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6497, allocations: 59.41 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.6498, allocations: 121.8 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6498, allocations: 25.7 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.6498, allocations: 100.3 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.6499, allocations: 31.69 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.6499, allocations: 29.7 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.65, allocations: 322.7 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.6501, allocations: 27.98 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.6501, allocations: 27.98 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.6503, allocations: 76.41 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6503, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001639/0.6504, allocations: 109.6 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6504, allocations: 8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6505, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.6505, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.6506, allocations: 15.98 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6506, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.6507, allocations: 23.77 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6507, allocations: 4 kB / 1.213 GB, free: 8.262 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.775e-05/0.6508, allocations: 121.8 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6508, allocations: 4 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.6511, allocations: 153.9 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6511, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6511, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6511, allocations: 3.938 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.6513, allocations: 209.6 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6513, allocations: 4 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.6514, allocations: 23.92 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6514, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6514, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6514, allocations: 3.938 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6514, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.6516, allocations: 164.9 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.6517, allocations: 92.94 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.6517, allocations: 8 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.6518, allocations: 4 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6519, allocations: 11.98 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.6519, allocations: 15.86 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.6519, allocations: 103.2 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6519, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001968/0.6521, allocations: 24 kB / 1.214 GB, free: 7.227 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.913e-05/0.6523, allocations: 99.25 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.6524, allocations: 91.53 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6524, allocations: 0 / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.6525, allocations: 51.97 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.6527, allocations: 4 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.6531, allocations: 240.1 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.6533, allocations: 0.7002 MB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.6533, allocations: 15.42 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.6534, allocations: 4 kB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.002417/0.6558, allocations: 1.272 MB / 1.217 GB, free: 4.699 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches