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.001101/0.001101, allocations: 108 kB / 16.37 MB, free: 6.477 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.001068/0.001068, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.05 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3294, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007092/0.3365, allocations: 5.415 MB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6105/0.9471, allocations: 150.8 MB / 1.171 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.9479, allocations: 20 kB / 1.171 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.9485, allocations: 211.2 kB / 1.172 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.9502, allocations: 0.5749 MB / 1.172 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.9522, allocations: 0.9474 MB / 1.173 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.9537, allocations: 1.62 MB / 1.175 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.9548, allocations: 0.7478 MB / 1.175 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007873/0.9555, allocations: 0.5893 MB / 1.176 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.9563, allocations: 0.6534 MB / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.9565, allocations: 142.3 kB / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.9574, allocations: 0.5169 MB / 1.177 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.9577, allocations: 361.8 kB / 1.178 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.9583, allocations: 0.6714 MB / 1.178 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.9602, allocations: 1.911 MB / 1.18 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9602, allocations: 5.344 kB / 1.18 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9602, allocations: 0 / 1.18 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.9602, allocations: 0 / 1.18 GB, free: 10.43 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.003112/0.9633, allocations: 1.674 MB / 1.182 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.9634, allocations: 8.375 kB / 1.182 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.9687, allocations: 0.7543 MB / 1.182 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.9701, allocations: 0.8361 MB / 1.183 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.9702, allocations: 78.86 kB / 1.183 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.9704, allocations: 111.7 kB / 1.183 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.9735, allocations: 1.432 MB / 1.185 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.9736, allocations: 2.656 kB / 1.185 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.9737, allocations: 45.03 kB / 1.185 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.9737, allocations: 27.28 kB / 1.185 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/0.9782, allocations: 1.883 MB / 1.187 GB, free: 6.25 MB / 0.8887 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.00635/0.9846, allocations: 3.508 MB / 1.19 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.9878, allocations: 1.374 MB / 1.192 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.9892, allocations: 0.6005 MB / 1.192 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.9899, allocations: 479.7 kB / 1.193 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.9917, allocations: 0.8091 MB / 1.193 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 3.066e-06/0.9917, allocations: 2.625 kB / 1.193 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.005804/0.9975, allocations: 1.976 MB / 1.195 GB, free: 480 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.9976, allocations: 197.8 kB / 1.196 GB, free: 248 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/0.9984, allocations: 0.6485 MB / 1.196 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.9985, allocations: 53.64 kB / 1.196 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.9988, allocations: 433.1 kB / 1.197 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.9991, allocations: 356 kB / 1.197 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.9995, allocations: 207.4 kB / 1.197 GB, free: 15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9997, allocations: 395.5 kB / 1.198 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.001, allocations: 0.4993 MB / 1.198 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.002, allocations: 0.6148 MB / 1.199 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/1.005, allocations: 1.083 MB / 1.2 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.005, allocations: 5.688 kB / 1.2 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003747/1.009, allocations: 1.372 MB / 1.201 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.009, allocations: 7.594 kB / 1.201 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.009, allocations: 0 / 1.201 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/1.01, allocations: 81.97 kB / 1.201 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.011, allocations: 273.1 kB / 1.201 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.013, allocations: 1.643 MB / 1.203 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.014, allocations: 167.4 kB / 1.203 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.015, allocations: 46.22 kB / 1.203 GB, free: 10.96 MB / 0.9044 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.0004965/1.015, allocations: 295.7 kB / 1.203 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.015, allocations: 95.66 kB / 1.204 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/1.02, allocations: 1.673 MB / 1.205 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.02, allocations: 12 kB / 1.205 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/1.02, allocations: 0 / 1.205 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.02, allocations: 7.969 kB / 1.205 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/1.025, allocations: 2.799 MB / 1.208 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.025, allocations: 3.938 kB / 1.208 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.027, allocations: 256.2 kB / 1.208 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.027, allocations: 76.78 kB / 1.208 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.65e-05/1.027, allocations: 39.95 kB / 1.208 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/1.029, allocations: 1.659 MB / 1.21 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.029, allocations: 0 / 1.21 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/1.033, allocations: 1.529 MB / 1.211 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/1.034, allocations: 331.2 kB / 1.212 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.034, allocations: 24 kB / 1.212 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.035, allocations: 123.8 kB / 1.212 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.035, allocations: 80.89 kB / 1.212 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.035, allocations: 47.95 kB / 1.212 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005697/1.036, allocations: 475 kB / 1.212 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.036, allocations: 4 kB / 1.212 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001074/1.037, allocations: 399 kB / 1.213 GB, free: 1.141 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.001408/1.038, allocations: 0.6195 MB / 1.213 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003546/1.042, allocations: 1.39 MB / 1.215 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.042, allocations: 4 kB / 1.215 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.044, allocations: 0.824 MB / 1.216 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.045, allocations: 314.7 kB / 1.216 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/1.049, allocations: 2.091 MB / 1.218 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/1.05, allocations: 1.076 MB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001255/1.051, allocations: 351.8 kB / 1.219 GB, free: 10.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.051, allocations: 127.4 kB / 1.219 GB, free: 10.48 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/1.051, allocations: 4 kB / 1.219 GB, free: 10.47 MB / 0.92 GB Notification: Performance of Templates: time 0.02803/1.08, allocations: 18.29 MB / 1.237 GB, free: 8.406 MB / 0.9356 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 -s gbode -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/jenkins1/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