Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, 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.001254/0.001254, allocations: 191.4 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 69.66 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007055/0.3894, allocations: 5.376 MB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1492/0.5387, allocations: 148.5 MB / 1.218 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5398, allocations: 15.94 kB / 1.218 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5408, allocations: 166.7 kB / 1.218 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.5435, allocations: 0.4888 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.5459, allocations: 0.8196 MB / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.548, allocations: 1.519 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5492, allocations: 0.7143 MB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.5501, allocations: 0.5214 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.551, allocations: 0.6028 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.5513, allocations: 72 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.5524, allocations: 439.6 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.5528, allocations: 290.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007719/0.5536, allocations: 0.6022 MB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.5557, allocations: 1.803 MB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5557, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5557, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.793e-05/0.5558, allocations: 0 / 1.226 GB, free: 8.273 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003944/0.5597, allocations: 1.669 MB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5598, allocations: 12.03 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/0.565, allocations: 0.76 MB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5662, allocations: 0.8123 MB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.5663, allocations: 82.2 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5665, allocations: 104 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.5697, allocations: 1.436 MB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5698, allocations: 0 / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5699, allocations: 44 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.5699, allocations: 28 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.5745, allocations: 1.889 MB / 1.232 GB, free: 1.27 MB / 0.9825 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.006239/0.5807, allocations: 3.543 MB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.5841, allocations: 1.382 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.5855, allocations: 0.5948 MB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.5862, allocations: 486.5 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/0.5882, allocations: 0.801 MB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.845e-06/0.5882, allocations: 0 / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006059/0.5943, allocations: 1.973 MB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.5944, allocations: 196.9 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.5952, allocations: 0.6449 MB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.5953, allocations: 49.7 kB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.5956, allocations: 444.5 kB / 1.242 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.5959, allocations: 354.8 kB / 1.243 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.5963, allocations: 210.5 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5964, allocations: 398.7 kB / 1.243 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5979, allocations: 0.5016 MB / 1.244 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.5994, allocations: 0.6131 MB / 1.244 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.6023, allocations: 1.082 MB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6023, allocations: 0 / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003876/0.6062, allocations: 1.376 MB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6062, allocations: 13.56 kB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6062, allocations: 0 / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.6069, allocations: 84.77 kB / 1.247 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6083, allocations: 267.6 kB / 1.247 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6103, allocations: 1.531 MB / 1.248 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.6117, allocations: 171.1 kB / 1.249 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6118, allocations: 47.97 kB / 1.249 GB, free: 0 / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.536/1.148, allocations: 285.9 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/1.148, allocations: 90.98 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/1.153, allocations: 1.685 MB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/1.154, allocations: 12.31 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.154, allocations: 0.9375 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.154, allocations: 6.234 kB / 1.251 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/1.16, allocations: 2.793 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.16, allocations: 3.828 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.162, allocations: 257.4 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/1.162, allocations: 85.23 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.163, allocations: 33.89 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/1.165, allocations: 1.548 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.165, allocations: 0 / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/1.169, allocations: 1.529 MB / 1.257 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/1.17, allocations: 319.6 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.171, allocations: 30 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.172, allocations: 124.2 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.172, allocations: 86.31 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.172, allocations: 46.89 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007864/1.173, allocations: 470 kB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.173, allocations: 0 / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001505/1.175, allocations: 412.5 kB / 1.258 GB, free: 180.7 MB / 0.9981 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 (122): * Single equations (assignments): 116 * 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.001875/1.177, allocations: 0.6232 MB / 1.259 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00414/1.181, allocations: 1.388 MB / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.181, allocations: 0 / 1.26 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/1.183, allocations: 0.821 MB / 1.261 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.185, allocations: 281.5 kB / 1.261 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/1.19, allocations: 2.618 MB / 1.264 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/1.19, allocations: 1.092 MB / 1.265 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001775/1.192, allocations: 346.2 kB / 1.265 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/1.193, allocations: 122.8 kB / 1.265 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.193, allocations: 4 kB / 1.265 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03818/1.231, allocations: 17.55 MB / 1.282 GB, free: 172.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches