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.001112/0.001112, 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.001189/0.001189, allocations: 188.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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.03 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.331, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007295/0.3384, allocations: 5.376 MB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.5, allocations: 148.6 MB / 1.218 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.5011, allocations: 19.88 kB / 1.218 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.5021, allocations: 166.7 kB / 1.218 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.5045, allocations: 0.5013 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.5071, allocations: 0.8446 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.5096, allocations: 1.608 MB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.511, allocations: 0.7474 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.5123, allocations: 0.5879 MB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.5134, allocations: 0.6516 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.5138, allocations: 144 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.5154, allocations: 0.4996 MB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/0.516, allocations: 354.9 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.5171, allocations: 0.6685 MB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.5203, allocations: 1.869 MB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5203, allocations: 0 / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5203, allocations: 0 / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.016e-05/0.5204, allocations: 0 / 1.227 GB, free: 7.496 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.004347/0.5248, allocations: 1.68 MB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5248, allocations: 12.03 kB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/0.5303, allocations: 0.7561 MB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.5318, allocations: 0.8123 MB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.5319, allocations: 90.19 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.5321, allocations: 100 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.5357, allocations: 1.436 MB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5358, allocations: 0 / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.5359, allocations: 44 kB / 1.231 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.536, allocations: 31.98 kB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.5407, allocations: 1.885 MB / 1.233 GB, free: 488 kB / 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.006861/0.5475, allocations: 3.535 MB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.5511, allocations: 1.377 MB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.5526, allocations: 0.5997 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.5533, allocations: 478.6 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/0.5553, allocations: 0.8127 MB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 3.156e-06/0.5554, allocations: 0 / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006275/0.5616, allocations: 1.977 MB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5618, allocations: 196.9 kB / 1.242 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5628, allocations: 0.645 MB / 1.243 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5629, allocations: 49.7 kB / 1.243 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.5633, allocations: 436.5 kB / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.5636, allocations: 354.8 kB / 1.243 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.564, allocations: 210.5 kB / 1.244 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5642, allocations: 398.7 kB / 1.244 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5657, allocations: 0.5016 MB / 1.244 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.5673, allocations: 0.6169 MB / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.5703, allocations: 1.078 MB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5703, allocations: 0 / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004047/0.5743, allocations: 1.376 MB / 1.247 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5744, allocations: 4 kB / 1.248 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5744, allocations: 8 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.575, allocations: 84.89 kB / 1.248 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5765, allocations: 267.6 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5822/1.159, allocations: 1.634 MB / 1.249 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.16, allocations: 164.1 kB / 1.25 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.161, allocations: 53.03 kB / 1.25 GB, free: 182 MB / 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.0006183/1.161, allocations: 290.2 kB / 1.25 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/1.161, allocations: 99.77 kB / 1.25 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/1.166, allocations: 1.678 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.166, allocations: 12.91 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.166, allocations: 0 / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.166, allocations: 7.141 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/1.172, allocations: 2.785 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.172, allocations: 4.844 kB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.174, allocations: 251.3 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/1.174, allocations: 81.89 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/1.174, allocations: 32.39 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/1.176, allocations: 1.665 MB / 1.256 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.176, allocations: 3.938 kB / 1.256 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/1.18, allocations: 1.531 MB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/1.18, allocations: 319.1 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/1.18, allocations: 27.16 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.182, allocations: 124.5 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.182, allocations: 88.14 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/1.182, allocations: 42.5 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005351/1.182, allocations: 476.4 kB / 1.259 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.182, allocations: 0 / 1.259 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001033/1.184, allocations: 404.1 kB / 1.259 GB, free: 179.6 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.001329/1.185, allocations: 0.6262 MB / 1.26 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004704/1.19, allocations: 1.665 MB / 1.262 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.19, allocations: 3.938 kB / 1.262 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.191, allocations: 0.8166 MB / 1.262 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.193, allocations: 308 kB / 1.263 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/1.197, allocations: 2.624 MB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/1.197, allocations: 1.08 MB / 1.266 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001481/1.199, allocations: 337.4 kB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/1.199, allocations: 131.1 kB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.199, allocations: 1.625 kB / 1.267 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03446/1.234, allocations: 18.21 MB / 1.284 GB, free: 171.1 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