Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008609/0.008609, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.002006/0.002006, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 62.72 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3827, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007952/0.3907, allocations: 4.417 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1945/0.5852, allocations: 150.6 MB / 1.239 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5863, allocations: 15.94 kB / 1.239 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.587, allocations: 178.3 kB / 1.24 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.5891, allocations: 0.5135 MB / 1.24 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.5914, allocations: 0.8613 MB / 1.241 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.5929, allocations: 1.328 MB / 1.242 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.594, allocations: 0.7025 MB / 1.243 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.5947, allocations: 0.4982 MB / 1.243 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.5954, allocations: 0.525 MB / 1.244 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.5956, allocations: 124 kB / 1.244 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.5966, allocations: 0.5113 MB / 1.244 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.5969, allocations: 322.9 kB / 1.245 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.5974, allocations: 0.5712 MB / 1.245 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.5996, allocations: 1.732 MB / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5997, allocations: 0 / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5997, allocations: 0 / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.5997, allocations: 0 / 1.247 GB, free: 13.93 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002685/0.6024, allocations: 1.518 MB / 1.248 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.6025, allocations: 12.03 kB / 1.249 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.6036, allocations: 224 kB / 1.249 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.605, allocations: 0.7895 MB / 1.249 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.605, allocations: 81.94 kB / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6052, allocations: 88 kB / 1.25 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.607, allocations: 1.012 MB / 1.251 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.607, allocations: 0 / 1.251 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/0.6071, allocations: 40 kB / 1.251 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6071, allocations: 28 kB / 1.251 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.6091, allocations: 1.182 MB / 1.252 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.6138, allocations: 2.676 MB / 1.254 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.6156, allocations: 0.9034 MB / 1.255 GB, free: 5.164 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.6162, allocations: 314.7 kB / 1.256 GB, free: 4.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.617, allocations: 470.2 kB / 1.256 GB, free: 4.301 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.618, allocations: 0.5047 MB / 1.257 GB, free: 3.777 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.6181, allocations: 0 / 1.257 GB, free: 3.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003393/0.6215, allocations: 1.229 MB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6216, allocations: 192.5 kB / 1.258 GB, free: 2.293 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.6224, allocations: 0.645 MB / 1.259 GB, free: 1.641 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.6225, allocations: 45.7 kB / 1.259 GB, free: 1.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.6229, allocations: 429 kB / 1.259 GB, free: 1.164 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.6231, allocations: 281.6 kB / 1.259 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.6234, allocations: 170.6 kB / 1.259 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6236, allocations: 386.8 kB / 1.26 GB, free: 332 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.6241, allocations: 277.8 kB / 1.26 GB, free: 56 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7305/1.355, allocations: 366.3 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.356, allocations: 0.6232 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.356, allocations: 0 / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002636/1.359, allocations: 0.8806 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.359, allocations: 5.969 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.359, allocations: 1.438 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/1.36, allocations: 81.3 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.36, allocations: 166.5 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/1.363, allocations: 1.63 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/1.364, allocations: 96.05 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/1.364, allocations: 35.61 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005771/1.364, allocations: 279.2 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.364, allocations: 91.41 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/1.367, allocations: 1.093 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.367, allocations: 13.55 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.367, allocations: 4.719 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.367, allocations: 4.5 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/1.371, allocations: 2.012 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.371, allocations: 0 / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/1.372, allocations: 154.9 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.372, allocations: 71.66 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.372, allocations: 28 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.374, allocations: 1.651 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.374, allocations: 3.344 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/1.376, allocations: 1.027 MB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/1.377, allocations: 282.3 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.377, allocations: 19.27 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/1.378, allocations: 70.52 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.378, allocations: 68.89 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/1.378, allocations: 37.73 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007475/1.379, allocations: 466.5 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/1.379, allocations: 3.938 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001187/1.38, allocations: 348.1 kB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/1.382, allocations: 0.6197 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.384, allocations: 0.8531 MB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.384, allocations: 0.6562 kB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.385, allocations: 0.5352 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.386, allocations: 286.8 kB / 1.274 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/1.391, allocations: 1.866 MB / 1.275 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/1.391, allocations: 1.042 MB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000902/1.392, allocations: 267.7 kB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/1.393, allocations: 106.9 kB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.393, allocations: 4 kB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of Templates: time 0.03659/1.429, allocations: 15.41 MB / 1.292 GB, free: 161.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches