Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001602/0.001602, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 63.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6891, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005228/0.6944, allocations: 4.653 MB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.8675, allocations: 148.5 MB / 1.098 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.8686, allocations: 19.88 kB / 1.098 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.8694, allocations: 134.9 kB / 1.099 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.8715, allocations: 445.3 kB / 1.099 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.8742, allocations: 0.8103 MB / 1.1 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.8764, allocations: 1.395 MB / 1.101 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8777, allocations: 0.7684 MB / 1.102 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.8786, allocations: 0.498 MB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.8792, allocations: 0.5878 MB / 1.103 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.8794, allocations: 72 kB / 1.103 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.8803, allocations: 435.6 kB / 1.103 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.8807, allocations: 290.9 kB / 1.104 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.8812, allocations: 0.5826 MB / 1.104 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.8829, allocations: 1.768 MB / 1.106 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.883, allocations: 7.938 kB / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.92e-07/0.883, allocations: 0 / 1.106 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.883, allocations: 0 / 1.106 GB, free: 0.6133 MB / 0.8575 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.003018/0.886, allocations: 1.653 MB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8861, allocations: 8.031 kB / 1.108 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.8915, allocations: 0.7561 MB / 1.108 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.8927, allocations: 0.8046 MB / 1.109 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.8928, allocations: 86.19 kB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.8929, allocations: 108 kB / 1.109 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.8962, allocations: 1.44 MB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.8962, allocations: 0 / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.8964, allocations: 48 kB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.8964, allocations: 28 kB / 1.111 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.901, allocations: 1.889 MB / 1.113 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.9073, allocations: 3.265 MB / 1.116 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.9107, allocations: 1.372 MB / 1.117 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.9123, allocations: 0.5933 MB / 1.118 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.913, allocations: 482.5 kB / 1.118 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.915, allocations: 0.8088 MB / 1.119 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.805e-06/0.915, allocations: 0 / 1.119 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006295/0.9213, allocations: 1.969 MB / 1.121 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.9214, allocations: 192.9 kB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9225, allocations: 0.6527 MB / 1.122 GB, free: 4 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.9226, allocations: 49.7 kB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.923, allocations: 432.5 kB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.9233, allocations: 358.8 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.9237, allocations: 202.5 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9239, allocations: 402.7 kB / 1.123 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.9253, allocations: 0.4938 MB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.9269, allocations: 0.613 MB / 1.124 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/0.9299, allocations: 1.078 MB / 1.125 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.9299, allocations: 0 / 1.125 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003879/0.9338, allocations: 1.368 MB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.9338, allocations: 12.06 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9338, allocations: 4 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.9344, allocations: 84.7 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.9358, allocations: 279.6 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.9379, allocations: 1.527 MB / 1.128 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9393, allocations: 167.1 kB / 1.129 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9394, allocations: 47.95 kB / 1.129 GB, free: 8.711 MB / 0.8887 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.0005671/0.94, allocations: 285.3 kB / 1.129 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.9403, allocations: 98.86 kB / 1.129 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.9451, allocations: 1.68 MB / 1.131 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.9452, allocations: 12 kB / 1.131 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9452, allocations: 0 / 1.131 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9452, allocations: 3.984 kB / 1.131 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.9518, allocations: 2.856 MB / 1.134 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9519, allocations: 0 / 1.134 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.9533, allocations: 255.6 kB / 1.134 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.9539, allocations: 84.72 kB / 1.134 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.954, allocations: 39.95 kB / 1.134 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.956, allocations: 1.548 MB / 1.135 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9561, allocations: 0 / 1.135 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/0.9605, allocations: 1.523 MB / 1.137 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.9611, allocations: 323.4 kB / 1.137 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.9614, allocations: 24 kB / 1.137 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.9628, allocations: 125.1 kB / 1.137 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.963, allocations: 88.81 kB / 1.137 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.9632, allocations: 43.97 kB / 1.137 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007286/0.9639, allocations: 475 kB / 1.138 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9639, allocations: 0 / 1.138 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001259/0.9652, allocations: 383.1 kB / 1.138 GB, free: 14.65 MB / 0.9044 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.001656/0.9668, allocations: 0.6252 MB / 1.139 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.9708, allocations: 1.378 MB / 1.14 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9708, allocations: 0 / 1.14 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.9729, allocations: 0.8163 MB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.9745, allocations: 274.5 kB / 1.141 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.9801, allocations: 2.722 MB / 1.144 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.9809, allocations: 1.088 MB / 1.145 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001622/0.9825, allocations: 343.6 kB / 1.145 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.983, allocations: 131.4 kB / 1.145 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/0.983, allocations: 0 / 1.145 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of Templates: time 0.03063/1.014, allocations: 17.46 MB / 1.163 GB, free: 6.125 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches