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.00166/0.00166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001972/0.001972, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.63/2.63, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 63.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6925, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007275/0.6998, allocations: 5.401 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.8654, allocations: 148.5 MB / 1.167 GB, free: 8.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.8666, allocations: 15.94 kB / 1.167 GB, free: 8.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.8673, allocations: 166.7 kB / 1.167 GB, free: 8.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.869, allocations: 489.3 kB / 1.168 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.871, allocations: 0.8269 MB / 1.168 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.8725, allocations: 1.515 MB / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.8735, allocations: 0.7143 MB / 1.171 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007333/0.8742, allocations: 0.5253 MB / 1.171 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.8749, allocations: 0.6067 MB / 1.172 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.8751, allocations: 72 kB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009952/0.8761, allocations: 439.6 kB / 1.172 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.8764, allocations: 290.9 kB / 1.172 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.8769, allocations: 0.6138 MB / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.8786, allocations: 1.803 MB / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8786, allocations: 0 / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8787, allocations: 4 kB / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.8787, allocations: 0 / 1.175 GB, free: 188 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.003124/0.8818, allocations: 1.665 MB / 1.176 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.8819, allocations: 12.03 kB / 1.176 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.8871, allocations: 0.76 MB / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8882, allocations: 0.8123 MB / 1.178 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.8883, allocations: 86.19 kB / 1.178 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.8885, allocations: 100 kB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.8919, allocations: 1.436 MB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.892, allocations: 0 / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.8921, allocations: 48 kB / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.8922, allocations: 24 kB / 1.18 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.8969, allocations: 1.889 MB / 1.181 GB, free: 9.176 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.00689/0.9038, allocations: 3.532 MB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.9069, allocations: 1.38 MB / 1.186 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.9084, allocations: 0.6011 MB / 1.187 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/0.909, allocations: 482.5 kB / 1.187 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/0.911, allocations: 0.8088 MB / 1.188 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.795e-06/0.911, allocations: 3.938 kB / 1.188 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.00597/0.9169, allocations: 1.973 MB / 1.19 GB, free: 112 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.9171, allocations: 192.9 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.918, allocations: 0.6527 MB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.9181, allocations: 49.7 kB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.9185, allocations: 432.5 kB / 1.191 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.9188, allocations: 354.9 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.9192, allocations: 218.3 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.9194, allocations: 398.7 kB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.9209, allocations: 0.5016 MB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.9225, allocations: 0.613 MB / 1.193 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.9268, allocations: 1.086 MB / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.9268, allocations: 0 / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006166/0.933, allocations: 1.364 MB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.933, allocations: 16.02 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.9331, allocations: 0 / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008439/0.9339, allocations: 80.78 kB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.9361, allocations: 267.6 kB / 1.196 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.9394, allocations: 1.539 MB / 1.198 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.9416, allocations: 173.2 kB / 1.198 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.9419, allocations: 47.95 kB / 1.198 GB, free: 7.902 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.001165/0.943, allocations: 285.4 kB / 1.198 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.9436, allocations: 94.88 kB / 1.198 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007296/0.9509, allocations: 1.676 MB / 1.2 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.9509, allocations: 12 kB / 1.2 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.9509, allocations: 3.984 kB / 1.2 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.951, allocations: 3.984 kB / 1.2 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.9622, allocations: 2.798 MB / 1.203 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.9622, allocations: 0 / 1.203 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/0.9649, allocations: 255.6 kB / 1.203 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/0.9658, allocations: 92.7 kB / 1.203 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.966, allocations: 35.97 kB / 1.203 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.9694, allocations: 1.544 MB / 1.204 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.9694, allocations: 3.984 kB / 1.204 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008102/0.9776, allocations: 1.527 MB / 1.206 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.9787, allocations: 319.4 kB / 1.206 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.9792, allocations: 24 kB / 1.206 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/0.9817, allocations: 123.9 kB / 1.206 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/0.982, allocations: 92.81 kB / 1.206 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/0.9823, allocations: 47.95 kB / 1.206 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001393/0.9837, allocations: 471 kB / 1.207 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.937e-06/0.9837, allocations: 0 / 1.207 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002238/0.986, allocations: 411 kB / 1.207 GB, free: 13.87 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.002802/0.9888, allocations: 0.632 MB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00705/0.9959, allocations: 1.39 MB / 1.209 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.9959, allocations: 0 / 1.209 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003905/0.9998, allocations: 0.8202 MB / 1.21 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.003, allocations: 282.8 kB / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009034/1.012, allocations: 2.611 MB / 1.213 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.013, allocations: 1.084 MB / 1.214 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00369/1.017, allocations: 347.7 kB / 1.214 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/1.018, allocations: 131.4 kB / 1.214 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of SimCode: time 1.283e-06/1.018, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.06106/1.079, allocations: 17.55 MB / 1.232 GB, free: 5.348 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