Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_10_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_10_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.001019/0.00102, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001293/0.001293, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 12 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6434, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006581/0.65, allocations: 4.687 MB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.8012, allocations: 137 MB / 1.161 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.8019, allocations: 15.94 kB / 1.161 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.8025, allocations: 158.7 kB / 1.161 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.8041, allocations: 485.2 kB / 1.161 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.806, allocations: 0.7196 MB / 1.162 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.8076, allocations: 1.398 MB / 1.163 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.8085, allocations: 0.524 MB / 1.164 GB, free: 14.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.8092, allocations: 430.2 kB / 1.164 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.8098, allocations: 485.7 kB / 1.165 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.8099, allocations: 32 kB / 1.165 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008427/0.8108, allocations: 371.6 kB / 1.165 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.811, allocations: 211.1 kB / 1.165 GB, free: 13.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.8113, allocations: 237 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.8127, allocations: 1.371 MB / 1.167 GB, free: 11.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8127, allocations: 0 / 1.167 GB, free: 11.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8127, allocations: 0 / 1.167 GB, free: 11.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.8128, allocations: 0 / 1.167 GB, free: 11.66 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002725/0.8155, allocations: 1.431 MB / 1.168 GB, free: 10.17 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8155, allocations: 8.562 kB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.8204, allocations: 0.8216 MB / 1.169 GB, free: 9.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.8217, allocations: 0.7772 MB / 1.17 GB, free: 8.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.8218, allocations: 82.2 kB / 1.17 GB, free: 8.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.8219, allocations: 104 kB / 1.17 GB, free: 8.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.8251, allocations: 1.451 MB / 1.172 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.8252, allocations: 3.938 kB / 1.172 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.8253, allocations: 51.98 kB / 1.172 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.8253, allocations: 24 kB / 1.172 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004428/0.8298, allocations: 1.928 MB / 1.174 GB, free: 4.801 MB / 0.92 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.006195/0.836, allocations: 3.579 MB / 1.177 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.8391, allocations: 1.38 MB / 1.178 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.8406, allocations: 0.6026 MB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.8413, allocations: 478.4 kB / 1.179 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/0.8431, allocations: 0.8127 MB / 1.18 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.795e-06/0.8431, allocations: 0 / 1.18 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.005636/0.8487, allocations: 1.992 MB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.8489, allocations: 200.9 kB / 1.182 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.8498, allocations: 0.6372 MB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.8499, allocations: 49.7 kB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.8502, allocations: 440.5 kB / 1.183 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.8505, allocations: 350.9 kB / 1.184 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.8506, allocations: 20 kB / 1.184 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8508, allocations: 394.7 kB / 1.184 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8522, allocations: 0.5094 MB / 1.185 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.8537, allocations: 0.6247 MB / 1.185 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.8551, allocations: 0.5301 MB / 1.186 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8551, allocations: 0 / 1.186 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00369/0.8588, allocations: 1.387 MB / 1.187 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8588, allocations: 4 kB / 1.187 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8588, allocations: 7.938 kB / 1.187 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.8594, allocations: 84.89 kB / 1.187 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.8608, allocations: 271.6 kB / 1.188 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.8629, allocations: 1.525 MB / 1.189 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.8642, allocations: 179.2 kB / 1.189 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.8644, allocations: 43.97 kB / 1.189 GB, free: 4.211 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005819/0.865, allocations: 303.4 kB / 1.19 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.8651, allocations: 94.88 kB / 1.19 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.8696, allocations: 1.691 MB / 1.191 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.8696, allocations: 12 kB / 1.191 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8697, allocations: 0 / 1.191 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.8697, allocations: 15.92 kB / 1.191 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.8752, allocations: 2.814 MB / 1.194 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.8752, allocations: 3.984 kB / 1.194 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.8766, allocations: 259.6 kB / 1.194 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.8771, allocations: 84.78 kB / 1.194 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/0.8772, allocations: 31.97 kB / 1.194 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.8789, allocations: 1.548 MB / 1.196 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.8789, allocations: 7.984 kB / 1.196 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.883, allocations: 1.523 MB / 1.197 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/0.8836, allocations: 339.3 kB / 1.198 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.8839, allocations: 23.94 kB / 1.198 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.885, allocations: 144.5 kB / 1.198 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.8853, allocations: 92.86 kB / 1.198 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.8854, allocations: 43.97 kB / 1.198 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007129/0.8861, allocations: 471 kB / 1.198 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8861, allocations: 0 / 1.198 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001123/0.8872, allocations: 399 kB / 1.199 GB, free: 10.09 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 (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.8886, allocations: 0.6263 MB / 1.199 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.892, allocations: 1.397 MB / 1.201 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8921, allocations: 0 / 1.201 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.8938, allocations: 0.8203 MB / 1.202 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.8951, allocations: 286.9 kB / 1.202 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.8992, allocations: 2.571 MB / 1.204 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.8998, allocations: 1.084 MB / 1.205 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001485/0.9013, allocations: 339.8 kB / 1.206 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.9018, allocations: 131.4 kB / 1.206 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.9018, allocations: 0 / 1.206 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of Templates: time 0.03202/0.9338, allocations: 16.94 MB / 1.222 GB, free: 2.227 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches