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.001074/0.001074, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008157/0.008158, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.445/2.445, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7438, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005355/0.7492, allocations: 4.222 MB / 0.9592 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.9173, allocations: 146.9 MB / 1.103 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.9185, allocations: 15.88 kB / 1.103 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.9193, allocations: 142.8 kB / 1.103 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.9213, allocations: 437.6 kB / 1.103 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.9237, allocations: 0.8182 MB / 1.104 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.9256, allocations: 1.391 MB / 1.105 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.9269, allocations: 0.7567 MB / 1.106 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.9278, allocations: 418 kB / 1.106 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.9286, allocations: 481.4 kB / 1.107 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.9288, allocations: 36 kB / 1.107 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.9299, allocations: 399.6 kB / 1.107 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.9302, allocations: 226.9 kB / 1.108 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.9309, allocations: 0.5219 MB / 1.108 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.9332, allocations: 1.705 MB / 1.11 GB, free: 360 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9333, allocations: 4 kB / 1.11 GB, free: 356 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9333, allocations: 0 / 1.11 GB, free: 356 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.378e-05/0.9333, allocations: 8 kB / 1.11 GB, free: 348 kB / 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.003673/0.937, allocations: 1.392 MB / 1.111 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9371, allocations: 8.031 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.9429, allocations: 0.8187 MB / 1.112 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.9446, allocations: 0.8123 MB / 1.113 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.9447, allocations: 86.2 kB / 1.113 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.945, allocations: 104 kB / 1.113 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.949, allocations: 1.455 MB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.9491, allocations: 0 / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.9492, allocations: 51.98 kB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.9493, allocations: 31.94 kB / 1.114 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/0.9547, allocations: 1.936 MB / 1.116 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008629/0.9634, allocations: 3.298 MB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.9673, allocations: 1.391 MB / 1.121 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.9689, allocations: 0.6011 MB / 1.121 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.9697, allocations: 486.5 kB / 1.122 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.9718, allocations: 0.8127 MB / 1.123 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 3.918e-06/0.9719, allocations: 0 / 1.123 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006497/0.9784, allocations: 1.985 MB / 1.125 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.9785, allocations: 204.9 kB / 1.125 GB, free: 436 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.9795, allocations: 0.649 MB / 1.125 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.9797, allocations: 45.69 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.98, allocations: 440.5 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.9804, allocations: 350.8 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9806, allocations: 89.66 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.9808, allocations: 394.7 kB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.9824, allocations: 0.5133 MB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.984, allocations: 0.6169 MB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.9872, allocations: 1.09 MB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.9872, allocations: 4 kB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004155/0.9914, allocations: 1.391 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.9914, allocations: 5.094 kB / 1.13 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9914, allocations: 4.125 kB / 1.13 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.9921, allocations: 84.77 kB / 1.13 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.9936, allocations: 275.6 kB / 1.131 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.9961, allocations: 1.522 MB / 1.132 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.9981, allocations: 177.1 kB / 1.132 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/0.9984, allocations: 48.03 kB / 1.132 GB, free: 8.539 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.001352/0.9997, allocations: 301.2 kB / 1.133 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/1, allocations: 94.88 kB / 1.133 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/1.005, allocations: 1.692 MB / 1.134 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.006, allocations: 12 kB / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.006, allocations: 0 / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.006, allocations: 7.969 kB / 1.134 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006328/1.012, allocations: 2.871 MB / 1.137 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.012, allocations: 3.938 kB / 1.137 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.013, allocations: 255.7 kB / 1.137 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/1.014, allocations: 92.64 kB / 1.137 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/1.014, allocations: 35.97 kB / 1.138 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/1.016, allocations: 1.544 MB / 1.139 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.016, allocations: 4.062 kB / 1.139 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/1.02, allocations: 1.542 MB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/1.021, allocations: 335.3 kB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.021, allocations: 24 kB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.022, allocations: 143.9 kB / 1.141 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.022, allocations: 84.81 kB / 1.141 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.022, allocations: 43.97 kB / 1.141 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006249/1.023, allocations: 475 kB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.023, allocations: 0 / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001079/1.024, allocations: 379.1 kB / 1.142 GB, free: 14.38 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.001817/1.026, allocations: 0.6307 MB / 1.143 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004397/1.03, allocations: 1.405 MB / 1.144 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.03, allocations: 4 kB / 1.144 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.033, allocations: 0.8163 MB / 1.145 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.034, allocations: 271.1 kB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/1.04, allocations: 2.782 MB / 1.148 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/1.04, allocations: 1.092 MB / 1.149 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001576/1.042, allocations: 339.7 kB / 1.149 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/1.042, allocations: 131.3 kB / 1.149 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/1.042, allocations: 3.938 kB / 1.149 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.03053/1.073, allocations: 17.34 MB / 1.166 GB, free: 5.887 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