Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0017/0.0017, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 63.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6736, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007317/0.681, allocations: 5.173 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.8422, allocations: 148.4 MB / 1.167 GB, free: 8.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.8436, allocations: 11.94 kB / 1.167 GB, free: 8.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.8447, allocations: 158.8 kB / 1.167 GB, free: 8.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.847, allocations: 0.5019 MB / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.8492, allocations: 0.7644 MB / 1.168 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.8511, allocations: 1.456 MB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.852, allocations: 0.6542 MB / 1.17 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.8528, allocations: 0.5256 MB / 1.171 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.8534, allocations: 0.5534 MB / 1.171 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.8535, allocations: 128 kB / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008651/0.8544, allocations: 471.7 kB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.8547, allocations: 323 kB / 1.172 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.8552, allocations: 0.6219 MB / 1.173 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.8569, allocations: 1.71 MB / 1.174 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8569, allocations: 0 / 1.174 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8569, allocations: 4 kB / 1.174 GB, free: 0.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.8569, allocations: 3.984 kB / 1.174 GB, free: 0.6641 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002548/0.8595, allocations: 1.504 MB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.8595, allocations: 12.03 kB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.8613, allocations: 303.1 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.8623, allocations: 0.7655 MB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.8624, allocations: 78 kB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.8625, allocations: 92 kB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.8645, allocations: 1.07 MB / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.8645, allocations: 0 / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/0.8646, allocations: 44 kB / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.8647, allocations: 28 kB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.867, allocations: 1.268 MB / 1.18 GB, free: 11.38 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.8718, allocations: 2.97 MB / 1.182 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.8745, allocations: 1.032 MB / 1.183 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.8754, allocations: 374.6 kB / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.8755, allocations: 28.56 kB / 1.184 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.8767, allocations: 0.5645 MB / 1.184 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.8767, allocations: 0 / 1.184 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.004117/0.8808, allocations: 1.376 MB / 1.186 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.881, allocations: 200.9 kB / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.8818, allocations: 0.6449 MB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.8819, allocations: 41.7 kB / 1.187 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.8822, allocations: 424.2 kB / 1.187 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.8824, allocations: 268.1 kB / 1.187 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.8827, allocations: 170.5 kB / 1.187 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8829, allocations: 386.8 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.8837, allocations: 325.8 kB / 1.188 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/0.8846, allocations: 419.1 kB / 1.188 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.8862, allocations: 0.714 MB / 1.189 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.8862, allocations: 4 kB / 1.189 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002481/0.8887, allocations: 0.9735 MB / 1.19 GB, free: 200 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8887, allocations: 4 kB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.8887, allocations: 4 kB / 1.19 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.8894, allocations: 80.88 kB / 1.19 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.8902, allocations: 191.7 kB / 1.19 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.8924, allocations: 1.65 MB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.8934, allocations: 111.4 kB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.8935, allocations: 35.98 kB / 1.192 GB, free: 13.97 MB / 0.9512 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 (98): * Single equations (assignments): 97 * 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.0004904/0.894, allocations: 275.4 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.8942, allocations: 82.97 kB / 1.192 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.8972, allocations: 1.206 MB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.8973, allocations: 12 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.8973, allocations: 0 / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.8973, allocations: 3.984 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.9012, allocations: 2.143 MB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9013, allocations: 0 / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.902, allocations: 179.7 kB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.9025, allocations: 76.78 kB / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.9026, allocations: 23.98 kB / 1.196 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.9045, allocations: 1.662 MB / 1.198 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9045, allocations: 0 / 1.198 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.9071, allocations: 1.117 MB / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.9076, allocations: 279.9 kB / 1.199 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.9078, allocations: 23.92 kB / 1.199 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.9087, allocations: 93.22 kB / 1.199 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.9089, allocations: 76.83 kB / 1.199 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.9089, allocations: 35.98 kB / 1.199 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006253/0.9096, allocations: 471 kB / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9096, allocations: 0 / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009815/0.9106, allocations: 339.2 kB / 1.2 GB, free: 5.648 MB / 0.9512 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 (97): * Single equations (assignments): 91 * 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.00152/0.9121, allocations: 0.6127 MB / 1.201 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.9153, allocations: 1.171 MB / 1.202 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9154, allocations: 0 / 1.202 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9167, allocations: 0.5744 MB / 1.202 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.9182, allocations: 307.1 kB / 1.203 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.9222, allocations: 2.263 MB / 1.205 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/0.923, allocations: 1.047 MB / 1.206 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001164/0.9242, allocations: 286.9 kB / 1.206 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/0.9246, allocations: 107.4 kB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.9246, allocations: 0 / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.02736/0.952, allocations: 15.78 MB / 1.222 GB, free: 15.82 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches