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.0008743/0.0008742, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.000951, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.336 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.777/2.777, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003878, allocations: 8 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8097, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006278/0.816, allocations: 4.959 MB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.9896, allocations: 146.9 MB / 1.172 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.9912, allocations: 15.94 kB / 1.172 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.9923, allocations: 162.7 kB / 1.172 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.9955, allocations: 497.9 kB / 1.173 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.999, allocations: 0.8286 MB / 1.173 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003101/1.002, allocations: 1.518 MB / 1.175 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.004, allocations: 0.7065 MB / 1.176 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/1.005, allocations: 430 kB / 1.176 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/1.006, allocations: 0.4936 MB / 1.177 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000268/1.006, allocations: 32 kB / 1.177 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/1.007, allocations: 399.6 kB / 1.177 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/1.008, allocations: 231 kB / 1.177 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000778/1.009, allocations: 0.553 MB / 1.178 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/1.01, allocations: 1.364 MB / 1.179 GB, free: 148 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.01, allocations: 0 / 1.179 GB, free: 148 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.953e-06/1.01, allocations: 0 / 1.179 GB, free: 148 kB / 0.92 GB Notification: Performance of Transformations before backend: time 5.099e-05/1.011, allocations: 0 / 1.179 GB, free: 148 kB / 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.003368/1.014, allocations: 1.419 MB / 1.18 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.014, allocations: 8.031 kB / 1.18 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005607/1.02, allocations: 0.8264 MB / 1.181 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/1.021, allocations: 0.8008 MB / 1.182 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/1.021, allocations: 82.2 kB / 1.182 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/1.022, allocations: 107.9 kB / 1.182 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/1.026, allocations: 1.459 MB / 1.184 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.026, allocations: 4 kB / 1.184 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/1.026, allocations: 48 kB / 1.184 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/1.026, allocations: 28 kB / 1.184 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005092/1.031, allocations: 1.94 MB / 1.186 GB, free: 9.246 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.007445/1.038, allocations: 3.572 MB / 1.189 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.042, allocations: 1.392 MB / 1.19 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/1.044, allocations: 0.6135 MB / 1.191 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/1.045, allocations: 470.5 kB / 1.191 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/1.047, allocations: 0.8282 MB / 1.192 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 4.548e-06/1.047, allocations: 0 / 1.192 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.006717/1.054, allocations: 1.996 MB / 1.194 GB, free: 92 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/1.054, allocations: 192.9 kB / 1.194 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.055, allocations: 0.6527 MB / 1.195 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/1.055, allocations: 49.7 kB / 1.195 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/1.056, allocations: 440.5 kB / 1.196 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/1.056, allocations: 354.8 kB / 1.196 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.056, allocations: 85.67 kB / 1.196 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.056, allocations: 406.6 kB / 1.196 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.058, allocations: 0.5016 MB / 1.197 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.06, allocations: 0.6248 MB / 1.197 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.063, allocations: 1.101 MB / 1.199 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.063, allocations: 0 / 1.199 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004401/1.068, allocations: 1.387 MB / 1.2 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.068, allocations: 4 kB / 1.2 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.068, allocations: 64 / 1.2 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/1.068, allocations: 92.84 kB / 1.2 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.07, allocations: 275.6 kB / 1.2 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.072, allocations: 1.53 MB / 1.202 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.074, allocations: 188.8 kB / 1.202 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.074, allocations: 47.95 kB / 1.202 GB, free: 7.934 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.0007419/1.075, allocations: 283.9 kB / 1.202 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.075, allocations: 94.88 kB / 1.202 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005165/1.08, allocations: 1.688 MB / 1.204 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.08, allocations: 16 kB / 1.204 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.08, allocations: 4 kB / 1.204 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.08, allocations: 3.984 kB / 1.204 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006669/1.087, allocations: 2.81 MB / 1.207 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.087, allocations: 4 kB / 1.207 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.088, allocations: 259.6 kB / 1.207 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/1.089, allocations: 92.7 kB / 1.207 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.089, allocations: 31.97 kB / 1.207 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.091, allocations: 1.555 MB / 1.209 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.091, allocations: 0 / 1.209 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/1.096, allocations: 1.539 MB / 1.21 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/1.096, allocations: 335.4 kB / 1.21 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/1.097, allocations: 24 kB / 1.21 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.098, allocations: 143.9 kB / 1.211 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.098, allocations: 92.75 kB / 1.211 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.098, allocations: 43.97 kB / 1.211 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007645/1.099, allocations: 475 kB / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.099, allocations: 0 / 1.211 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001373/1.101, allocations: 403 kB / 1.212 GB, free: 13.82 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.001703/1.102, allocations: 0.632 MB / 1.212 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.106, allocations: 1.401 MB / 1.214 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.106, allocations: 7.938 kB / 1.214 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/1.109, allocations: 0.8242 MB / 1.214 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.11, allocations: 288.1 kB / 1.215 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/1.116, allocations: 2.686 MB / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/1.117, allocations: 1.088 MB / 1.218 GB, free: 7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/1.117, allocations: 147.3 kB / 1.218 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.117, allocations: 0 / 1.218 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.0409/1.158, allocations: 22.6 MB / 1.241 GB, free: 372 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time