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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001555/0.001555, 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.001851/0.001851, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6698, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007593/0.6774, allocations: 5.409 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1831/0.8605, allocations: 148.6 MB / 1.167 GB, free: 8.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.8617, allocations: 19.88 kB / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.8628, allocations: 166.8 kB / 1.167 GB, free: 7.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.8653, allocations: 0.4975 MB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.8677, allocations: 0.8503 MB / 1.169 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002228/0.87, allocations: 1.616 MB / 1.17 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.8714, allocations: 0.7473 MB / 1.171 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.8725, allocations: 0.5879 MB / 1.172 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.8735, allocations: 0.6473 MB / 1.172 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.8739, allocations: 148 kB / 1.172 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.8752, allocations: 0.4996 MB / 1.173 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.8756, allocations: 358.9 kB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009638/0.8766, allocations: 0.6724 MB / 1.174 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.88, allocations: 1.869 MB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.88, allocations: 0 / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.88, allocations: 0 / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.32e-05/0.8801, allocations: 3.938 kB / 1.176 GB, free: 15.43 MB / 0.9356 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.004084/0.8842, allocations: 1.672 MB / 1.177 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8842, allocations: 12.03 kB / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/0.8899, allocations: 0.7561 MB / 1.178 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.8913, allocations: 0.8163 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.8914, allocations: 78.2 kB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.8916, allocations: 108 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.895, allocations: 1.428 MB / 1.18 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.8951, allocations: 7.938 kB / 1.18 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.8952, allocations: 48 kB / 1.18 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.8952, allocations: 24 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.8999, allocations: 1.893 MB / 1.182 GB, free: 8.406 MB / 0.9356 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.006813/0.9067, allocations: 3.534 MB / 1.186 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.9101, allocations: 1.38 MB / 1.187 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.9117, allocations: 0.5933 MB / 1.188 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.9124, allocations: 482.5 kB / 1.188 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/0.9144, allocations: 0.8165 MB / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 3.356e-06/0.9144, allocations: 0 / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.006486/0.9209, allocations: 1.969 MB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.921, allocations: 196.9 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/0.9219, allocations: 0.6489 MB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.9221, allocations: 49.7 kB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.9224, allocations: 436.5 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.9227, allocations: 358.8 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/0.9231, allocations: 206.4 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9233, allocations: 398.7 kB / 1.193 GB, free: 13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.9248, allocations: 0.5055 MB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.9264, allocations: 0.6131 MB / 1.194 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.9294, allocations: 1.078 MB / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9294, allocations: 0 / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004131/0.9336, allocations: 1.376 MB / 1.197 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.9336, allocations: 8 kB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9336, allocations: 0 / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.9343, allocations: 84.89 kB / 1.197 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.9358, allocations: 275.5 kB / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.9382, allocations: 1.642 MB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.9397, allocations: 176.5 kB / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.9399, allocations: 43.97 kB / 1.199 GB, free: 7.02 MB / 0.9512 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.0006116/0.9405, allocations: 290 kB / 1.199 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.9407, allocations: 98.81 kB / 1.199 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/0.9455, allocations: 1.668 MB / 1.201 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.9455, allocations: 12 kB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9455, allocations: 0 / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.9455, allocations: 11.91 kB / 1.201 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.9514, allocations: 2.802 MB / 1.203 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9515, allocations: 0 / 1.203 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.9529, allocations: 251.6 kB / 1.204 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.9534, allocations: 80.78 kB / 1.204 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/0.9535, allocations: 31.97 kB / 1.204 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.9555, allocations: 1.666 MB / 1.205 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9555, allocations: 3.938 kB / 1.205 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/0.9597, allocations: 1.519 MB / 1.207 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.9601, allocations: 323.4 kB / 1.207 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.9603, allocations: 20 kB / 1.207 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.9616, allocations: 127.9 kB / 1.207 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.9618, allocations: 92.75 kB / 1.207 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.9619, allocations: 47.97 kB / 1.208 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006081/0.9626, allocations: 471 kB / 1.208 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9626, allocations: 0 / 1.208 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001088/0.9637, allocations: 403 kB / 1.208 GB, free: 12.88 MB / 0.9669 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.001489/0.9652, allocations: 0.636 MB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004919/0.9701, allocations: 1.655 MB / 1.211 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.9701, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.9722, allocations: 0.8241 MB / 1.211 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.9737, allocations: 321.1 kB / 1.212 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.9781, allocations: 2.616 MB / 1.214 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.9788, allocations: 1.085 MB / 1.215 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001504/0.9803, allocations: 339.7 kB / 1.216 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.9807, allocations: 131.4 kB / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.9807, allocations: 0 / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.03031/1.011, allocations: 18.18 MB / 1.234 GB, free: 3.445 MB / 0.9825 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