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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001337/0.001337, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.684/2.684, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 63.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6498, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006542/0.6564, allocations: 5.181 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.8129, allocations: 148.4 MB / 1.167 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/0.8139, allocations: 15.94 kB / 1.167 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.8146, allocations: 162.8 kB / 1.167 GB, free: 8.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.8161, allocations: 485.5 kB / 1.167 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.8177, allocations: 0.7489 MB / 1.168 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.819, allocations: 1.362 MB / 1.169 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/0.8199, allocations: 0.6375 MB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.8205, allocations: 470.1 kB / 1.17 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.821, allocations: 0.5211 MB / 1.171 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.8212, allocations: 64 kB / 1.171 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008121/0.822, allocations: 407.7 kB / 1.171 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.8223, allocations: 266.9 kB / 1.172 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.8227, allocations: 0.5517 MB / 1.172 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.8243, allocations: 1.651 MB / 1.174 GB, free: 1.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8243, allocations: 0 / 1.174 GB, free: 1.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8243, allocations: 8 kB / 1.174 GB, free: 1.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.8243, allocations: 0 / 1.174 GB, free: 1.289 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.002692/0.827, allocations: 1.508 MB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8271, allocations: 8.031 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.8288, allocations: 311.2 kB / 1.175 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8299, allocations: 0.7654 MB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.83, allocations: 74 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.8301, allocations: 91.98 kB / 1.176 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.8322, allocations: 1.07 MB / 1.177 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.8322, allocations: 0 / 1.177 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/0.8323, allocations: 36 kB / 1.177 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.8324, allocations: 28 kB / 1.177 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.8349, allocations: 1.272 MB / 1.179 GB, free: 12 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.005752/0.8407, allocations: 2.978 MB / 1.182 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.8434, allocations: 1.032 MB / 1.183 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.8442, allocations: 358.6 kB / 1.183 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.8443, allocations: 36.55 kB / 1.183 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.8455, allocations: 0.5645 MB / 1.184 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.8455, allocations: 0 / 1.184 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003882/0.8494, allocations: 1.38 MB / 1.185 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8495, allocations: 192.9 kB / 1.185 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.8504, allocations: 0.6487 MB / 1.186 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.8505, allocations: 41.7 kB / 1.186 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.8508, allocations: 424.2 kB / 1.186 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.851, allocations: 268.1 kB / 1.186 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.8513, allocations: 170.5 kB / 1.187 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8515, allocations: 386.8 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.8523, allocations: 329.8 kB / 1.187 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.8532, allocations: 419.1 kB / 1.188 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.8548, allocations: 0.7101 MB / 1.188 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8549, allocations: 8 kB / 1.188 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002464/0.8573, allocations: 0.9697 MB / 1.189 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8574, allocations: 7.938 kB / 1.189 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8574, allocations: 0 / 1.189 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.858, allocations: 80.88 kB / 1.189 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.8588, allocations: 191.7 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.8609, allocations: 1.53 MB / 1.191 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009918/0.8619, allocations: 117.7 kB / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.862, allocations: 39.97 kB / 1.191 GB, free: 14.72 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.0005375/0.8626, allocations: 279.4 kB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8628, allocations: 82.97 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.8657, allocations: 1.21 MB / 1.193 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8657, allocations: 8 kB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8657, allocations: 4 kB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8657, allocations: 3.984 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.8697, allocations: 2.143 MB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8697, allocations: 0 / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.8704, allocations: 175.8 kB / 1.195 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.871, allocations: 80.78 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.8711, allocations: 27.97 kB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.8729, allocations: 1.548 MB / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8729, allocations: 3.938 kB / 1.197 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.8756, allocations: 1.125 MB / 1.198 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.8761, allocations: 275.7 kB / 1.198 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.8762, allocations: 19.94 kB / 1.198 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/0.8771, allocations: 91.81 kB / 1.198 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.8773, allocations: 76.89 kB / 1.198 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.8774, allocations: 35.97 kB / 1.198 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005683/0.8779, allocations: 463 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8779, allocations: 4 kB / 1.199 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009102/0.8789, allocations: 347.2 kB / 1.199 GB, free: 6.496 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.001335/0.8802, allocations: 0.603 MB / 1.2 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.8824, allocations: 0.9523 MB / 1.201 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8825, allocations: 0 / 1.201 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8837, allocations: 0.586 MB / 1.201 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.8849, allocations: 275.2 kB / 1.201 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.8885, allocations: 2.247 MB / 1.204 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.8892, allocations: 1.055 MB / 1.205 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001006/0.8902, allocations: 278.9 kB / 1.205 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.8905, allocations: 107.4 kB / 1.205 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.8905, allocations: 0 / 1.205 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of Templates: time 0.02675/0.9173, allocations: 15.23 MB / 1.22 GB, free: 1.445 MB / 0.9669 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