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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001202/0.001202, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 16 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6454, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001434/0.6469, allocations: 1.276 MB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.6476, allocations: 0.5055 MB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.6476, allocations: 0.875 kB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.6477, allocations: 3.938 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.6479, allocations: 42.17 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.301e-05/0.648, allocations: 25.47 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.6481, allocations: 68.73 kB / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.6482, allocations: 23.08 kB / 0.9554 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.6483, allocations: 43.34 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.6484, allocations: 43.95 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.6484, allocations: 4.188 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.6485, allocations: 3.312 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.6485, allocations: 15.09 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.6485, allocations: 40.86 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.6486, allocations: 71.05 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.6486, allocations: 0 / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6486, allocations: 0 / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6486, allocations: 0 / 0.9556 GB, free: 6.41 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.00059/0.6492, allocations: 392.8 kB / 0.956 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6493, allocations: 12.31 kB / 0.956 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.6493, allocations: 11.92 kB / 0.956 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6495, allocations: 182.2 kB / 0.9562 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6495, allocations: 7.125 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.6495, allocations: 4.125 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6497, allocations: 80.58 kB / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6497, allocations: 0 / 0.9563 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.6497, allocations: 9.031 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6497, allocations: 2.031 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.6498, allocations: 48.8 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.6503, allocations: 346.4 kB / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.6506, allocations: 106.6 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.6506, allocations: 9.484 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.6508, allocations: 100.1 kB / 0.9569 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.664e-06/0.6509, allocations: 0 / 0.9569 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003096/0.6512, allocations: 144.7 kB / 0.957 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.6512, allocations: 57.66 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.6513, allocations: 122.7 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.6513, allocations: 34.89 kB / 0.9572 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.6514, allocations: 98.86 kB / 0.9573 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.6514, allocations: 27.83 kB / 0.9573 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.6514, allocations: 5.438 kB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.6515, allocations: 320.2 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.6515, allocations: 27.23 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.032e-05/0.6516, allocations: 26.05 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.6516, allocations: 26.38 kB / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6516, allocations: 0 / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001646/0.6518, allocations: 114.2 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6518, allocations: 8.938 kB / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6518, allocations: 0.625 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6519, allocations: 1.5 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.652, allocations: 26.08 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.652, allocations: 0 / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.6521, allocations: 11.52 kB / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6521, allocations: 2.812 kB / 0.9579 GB, free: 4.305 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 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.6522, allocations: 129.2 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.6522, allocations: 19.58 kB / 0.958 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.6525, allocations: 141.8 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6525, allocations: 1.906 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6525, allocations: 0 / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6525, allocations: 1.688 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.6526, allocations: 211.8 kB / 0.9584 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6526, allocations: 0 / 0.9584 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.6527, allocations: 21.45 kB / 0.9584 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6527, allocations: 5.469 kB / 0.9584 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6527, allocations: 9.328 kB / 0.9584 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6527, allocations: 3.938 kB / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6528, allocations: 0 / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.653, allocations: 161.5 kB / 0.9586 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.653, allocations: 88.16 kB / 0.9586 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.653, allocations: 1.688 kB / 0.9587 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.6532, allocations: 21.09 kB / 0.9587 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.6532, allocations: 9.391 kB / 0.9587 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.6532, allocations: 4.438 kB / 0.9587 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.6533, allocations: 102.6 kB / 0.9588 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6533, allocations: 0 / 0.9588 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002095/0.6535, allocations: 27.97 kB / 0.9588 GB, free: 3.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.719e-05/0.6536, allocations: 98.97 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.6538, allocations: 87.3 kB / 0.959 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6538, allocations: 4 kB / 0.959 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.6539, allocations: 50.17 kB / 0.959 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.654, allocations: 5.375 kB / 0.959 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.6544, allocations: 236.7 kB / 0.9593 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.6545, allocations: 0.7002 MB / 0.96 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.784e-05/0.6546, allocations: 10.45 kB / 0.96 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.6546, allocations: 12.62 kB / 0.96 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6547, allocations: 4 kB / 0.96 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of Templates: time 0.00304/0.6577, allocations: 0.9435 MB / 0.9609 GB, free: 1.918 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches