Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_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_9_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.001565/0.001565, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.346/2.346, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6401, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002713/0.6428, allocations: 1.602 MB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.6437, allocations: 0.5451 MB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.6438, allocations: 1.219 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.6439, allocations: 3.938 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.6442, allocations: 43.7 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.6443, allocations: 47.28 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.6444, allocations: 100.9 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.6446, allocations: 16.84 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.6447, allocations: 47.67 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.6448, allocations: 49.55 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.6449, allocations: 6.844 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.6449, allocations: 8.594 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.6449, allocations: 30.62 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.645, allocations: 50.25 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.6451, allocations: 84.47 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.6452, allocations: 1 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6452, allocations: 0 / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.6452, allocations: 0 / 0.9522 GB, free: 7.145 MB / 0.7169 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.0006997/0.6459, allocations: 408.1 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6459, allocations: 9.781 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.646, allocations: 12.5 kB / 0.9526 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.6461, allocations: 194.7 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6462, allocations: 4.531 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.6462, allocations: 8.062 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.6464, allocations: 86.14 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6464, allocations: 0 / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6464, allocations: 5.562 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6464, allocations: 1.281 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.6465, allocations: 52.5 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.6471, allocations: 336.7 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.6474, allocations: 115.2 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.6475, allocations: 41.12 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.6476, allocations: 0.9375 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.6479, allocations: 92.91 kB / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.6479, allocations: 0 / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003649/0.6482, allocations: 155.1 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.6483, allocations: 52.97 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.6484, allocations: 127.3 kB / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6484, allocations: 29.7 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.6484, allocations: 95.61 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.6485, allocations: 36.33 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.6485, allocations: 25.75 kB / 0.954 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.6486, allocations: 324.2 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.6487, allocations: 26.7 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.6487, allocations: 35.52 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.6488, allocations: 71.5 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6489, allocations: 0 / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001749/0.649, allocations: 111.4 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6491, allocations: 4.844 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6491, allocations: 0 / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6491, allocations: 1.188 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6492, allocations: 17.8 kB / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6492, allocations: 5.188 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.6493, allocations: 16.67 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.6494, allocations: 2.406 kB / 0.9545 GB, free: 4.941 MB / 0.7169 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.86e-05/0.6494, allocations: 126.5 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.6495, allocations: 8.406 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.6497, allocations: 143.7 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6498, allocations: 1.344 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6498, allocations: 1.312 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6498, allocations: 3.938 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.6499, allocations: 213.1 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6499, allocations: 0 / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.65, allocations: 21.47 kB / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.65, allocations: 3.984 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6501, allocations: 5.219 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6501, allocations: 1.344 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6501, allocations: 0 / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.6503, allocations: 162.4 kB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.6504, allocations: 87.98 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.6504, allocations: 9.422 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.6505, allocations: 8.031 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.6506, allocations: 21.59 kB / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6506, allocations: 11.64 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.6506, allocations: 99.39 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6506, allocations: 0 / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002261/0.6509, allocations: 26.66 kB / 0.9555 GB, free: 4.117 MB / 0.7169 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 0.0001165/0.651, allocations: 104.1 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.6512, allocations: 96.53 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6512, allocations: 3.938 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.6513, allocations: 54.19 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.6515, allocations: 6.625 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.652, allocations: 212.8 kB / 0.9559 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6521, allocations: 0.7021 MB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.6521, allocations: 6.875 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.6522, allocations: 20.48 kB / 0.9566 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6522, allocations: 0 / 0.9566 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.003536/0.6557, allocations: 1.079 MB / 0.9577 GB, free: 2.5 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches