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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001885/0.001884, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.002178/0.002178, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 69.02 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2893, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006773/0.2961, allocations: 5.399 MB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6582/0.9543, allocations: 150.8 MB / 1.179 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.9554, allocations: 16.84 kB / 1.179 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.9561, allocations: 207.7 kB / 1.18 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.9584, allocations: 0.5682 MB / 1.18 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.9608, allocations: 0.9518 MB / 1.181 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.9629, allocations: 1.621 MB / 1.183 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.964, allocations: 0.7486 MB / 1.183 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.965, allocations: 0.5904 MB / 1.184 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.9659, allocations: 0.6411 MB / 1.185 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.9661, allocations: 143.1 kB / 1.185 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.9673, allocations: 0.5291 MB / 1.185 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.9677, allocations: 357.6 kB / 1.186 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.9684, allocations: 0.6677 MB / 1.186 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.9709, allocations: 1.92 MB / 1.188 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.9709, allocations: 0 / 1.188 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.956e-06/0.9709, allocations: 1.031 kB / 1.188 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.9709, allocations: 0 / 1.188 GB, free: 0.6719 MB / 0.8887 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.003564/0.9745, allocations: 1.674 MB / 1.19 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9746, allocations: 9.594 kB / 1.19 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.9797, allocations: 0.7569 MB / 1.19 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.9814, allocations: 0.8327 MB / 1.191 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.9815, allocations: 83.58 kB / 1.191 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9817, allocations: 101.7 kB / 1.191 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.985, allocations: 1.433 MB / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.9851, allocations: 3.984 kB / 1.193 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.9852, allocations: 47.28 kB / 1.193 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.9852, allocations: 26.78 kB / 1.193 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004347/0.9896, allocations: 1.891 MB / 1.195 GB, free: 12.47 MB / 0.9044 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.006282/0.9959, allocations: 3.488 MB / 1.198 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.999, allocations: 1.387 MB / 1.199 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1, allocations: 0.6023 MB / 1.2 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/1.001, allocations: 473.4 kB / 1.201 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.003, allocations: 0.8146 MB / 1.201 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=109): time 2.905e-06/1.003, allocations: 0 / 1.201 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of matching and sorting (n=109): time 0.005877/1.009, allocations: 1.976 MB / 1.203 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.009, allocations: 195 kB / 1.203 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/1.01, allocations: 0.6552 MB / 1.204 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.01, allocations: 46.67 kB / 1.204 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/1.01, allocations: 429.7 kB / 1.205 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/1.011, allocations: 360.3 kB / 1.205 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/1.011, allocations: 204.1 kB / 1.205 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.011, allocations: 394.9 kB / 1.205 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.013, allocations: 0.505 MB / 1.206 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.014, allocations: 0.6195 MB / 1.207 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.017, allocations: 1.079 MB / 1.208 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.017, allocations: 3.938 kB / 1.208 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004132/1.021, allocations: 1.38 MB / 1.209 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.021, allocations: 4 kB / 1.209 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.021, allocations: 0 / 1.209 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/1.022, allocations: 89.39 kB / 1.209 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.023, allocations: 267.6 kB / 1.209 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.025, allocations: 1.626 MB / 1.211 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.027, allocations: 171.1 kB / 1.211 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.027, allocations: 48.02 kB / 1.211 GB, free: 15.99 MB / 0.92 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.0005649/1.027, allocations: 295.2 kB / 1.211 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.028, allocations: 94.81 kB / 1.211 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/1.032, allocations: 1.675 MB / 1.213 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.032, allocations: 12 kB / 1.213 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.032, allocations: 0 / 1.213 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.032, allocations: 11.92 kB / 1.213 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/1.038, allocations: 2.796 MB / 1.216 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.038, allocations: 7.875 kB / 1.216 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.04, allocations: 255.7 kB / 1.216 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/1.04, allocations: 72.78 kB / 1.216 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/1.04, allocations: 31.97 kB / 1.216 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/1.042, allocations: 1.666 MB / 1.218 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.042, allocations: 4.062 kB / 1.218 GB, free: 8.859 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/1.046, allocations: 1.525 MB / 1.219 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/1.047, allocations: 323.4 kB / 1.22 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.047, allocations: 24 kB / 1.22 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.048, allocations: 123.9 kB / 1.22 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.049, allocations: 80.94 kB / 1.22 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.049, allocations: 59.91 kB / 1.22 GB, free: 6.695 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005948/1.049, allocations: 467 kB / 1.22 GB, free: 6.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.049, allocations: 0 / 1.22 GB, free: 6.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001151/1.051, allocations: 407 kB / 1.221 GB, free: 5.848 MB / 0.92 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.001548/1.052, allocations: 0.6257 MB / 1.221 GB, free: 5.398 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003648/1.056, allocations: 1.397 MB / 1.223 GB, free: 3.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.056, allocations: 4 kB / 1.223 GB, free: 3.984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.058, allocations: 0.8241 MB / 1.224 GB, free: 3.148 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/1.059, allocations: 306.9 kB / 1.224 GB, free: 2.867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/1.063, allocations: 2.079 MB / 1.226 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.064, allocations: 1.092 MB / 1.227 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001371/1.065, allocations: 339.8 kB / 1.227 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/1.066, allocations: 123.4 kB / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/1.066, allocations: 0 / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.0296/1.095, allocations: 18.32 MB / 1.245 GB, free: 13.08 MB / 0.9512 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 -s gbode -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/jenkins1/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