Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001373/0.001373, allocations: 108.6 kB / 15.73 MB, free: 72 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.001425/0.001425, allocations: 181.3 kB / 16.66 MB, free: 6.602 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.379/1.379, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3755, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002804/0.3783, allocations: 1.604 MB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.3792, allocations: 0.5454 MB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.3793, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3793, allocations: 7.922 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.3796, allocations: 46.83 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.3797, allocations: 35.94 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3798, allocations: 111.6 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3799, allocations: 23.98 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.38, allocations: 55.77 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3802, allocations: 47.83 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3802, allocations: 8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.3802, allocations: 8 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.3802, allocations: 31.84 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3803, allocations: 43.78 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3804, allocations: 87.62 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 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.0007071/0.3811, allocations: 411.1 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3812, allocations: 11.97 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3812, allocations: 8.891 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3814, allocations: 184.3 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3814, allocations: 8.359 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3814, allocations: 8.375 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3816, allocations: 92.06 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3816, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3817, allocations: 55.91 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3822, allocations: 340.6 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3825, allocations: 106.7 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.3826, allocations: 36.84 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3826, allocations: 3.938 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3828, allocations: 99.3 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3828, allocations: 0 / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003283/0.3831, allocations: 153.5 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3832, allocations: 55.41 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3833, allocations: 125.8 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3833, allocations: 29.7 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.3833, allocations: 92.36 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3834, allocations: 35.83 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.3834, allocations: 29.7 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3835, allocations: 318.8 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.3836, allocations: 31.98 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.3837, allocations: 31.98 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3838, allocations: 64.78 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3838, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.3839, allocations: 113.6 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.384, allocations: 4 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.384, allocations: 3.938 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.384, allocations: 0 / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3841, allocations: 23.98 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3841, allocations: 0 / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3842, allocations: 15.92 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3842, allocations: 7.938 kB / 1.226 GB, free: 8.473 MB / 0.9825 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 0.0001058/0.3843, allocations: 126.3 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.3844, allocations: 7.953 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3846, allocations: 145.8 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3846, allocations: 4 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3846, allocations: 0 / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3846, allocations: 3.938 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3848, allocations: 217.5 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3848, allocations: 0 / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.3849, allocations: 19.92 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3849, allocations: 0 / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3849, allocations: 8 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3849, allocations: 3.938 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3849, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3852, allocations: 161 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.3852, allocations: 89.06 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3852, allocations: 7.984 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3853, allocations: 4 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3854, allocations: 15.92 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.3854, allocations: 15.92 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.3855, allocations: 95.27 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3855, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002042/0.3857, allocations: 23.94 kB / 1.226 GB, free: 7.438 MB / 0.9825 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.0001233/0.3858, allocations: 111.2 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.386, allocations: 79.91 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.386, allocations: 0 / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3861, allocations: 43.98 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.3863, allocations: 9.703 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.3867, allocations: 216 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.387, allocations: 0.6963 MB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.96e-05/0.3871, allocations: 12.55 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.3871, allocations: 15.42 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3871, allocations: 0 / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.003304/0.3904, allocations: 1.104 MB / 1.229 GB, free: 5.113 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches