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.001706/0.001706, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002074/0.002075, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.408/2.408, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7195, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005254/0.7248, allocations: 4.652 MB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.9013, allocations: 148.5 MB / 1.099 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.9025, allocations: 15.94 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.9031, allocations: 142.8 kB / 1.099 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.9052, allocations: 455.5 kB / 1.099 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.9076, allocations: 0.8437 MB / 1.1 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.9094, allocations: 1.492 MB / 1.102 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.9105, allocations: 0.7898 MB / 1.102 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009934/0.9115, allocations: 0.5761 MB / 1.103 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.9122, allocations: 0.634 MB / 1.104 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.9124, allocations: 144 kB / 1.104 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.9135, allocations: 0.4918 MB / 1.104 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.9138, allocations: 362.9 kB / 1.104 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.9144, allocations: 0.649 MB / 1.105 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.9166, allocations: 1.83 MB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9166, allocations: 0 / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9166, allocations: 0 / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.9166, allocations: 0 / 1.107 GB, free: 15.84 MB / 0.8731 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.003269/0.9199, allocations: 1.657 MB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9199, allocations: 8.031 kB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/0.9255, allocations: 0.76 MB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.9268, allocations: 0.8085 MB / 1.11 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.9269, allocations: 82.2 kB / 1.11 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.927, allocations: 104 kB / 1.11 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.9307, allocations: 1.432 MB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.9307, allocations: 0 / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.9309, allocations: 48 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.9309, allocations: 28 kB / 1.112 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/0.9356, allocations: 1.885 MB / 1.114 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/0.942, allocations: 3.26 MB / 1.117 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.9454, allocations: 1.378 MB / 1.118 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.9469, allocations: 0.5933 MB / 1.119 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.9476, allocations: 478.5 kB / 1.119 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00202/0.9496, allocations: 0.8049 MB / 1.12 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.925e-06/0.9497, allocations: 0 / 1.12 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006251/0.9559, allocations: 1.969 MB / 1.122 GB, free: 148 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.9561, allocations: 200.9 kB / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.9569, allocations: 0.6527 MB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.9571, allocations: 49.7 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.9574, allocations: 436.5 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.9577, allocations: 354.8 kB / 1.123 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.9581, allocations: 206.5 kB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.9583, allocations: 398.7 kB / 1.124 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.9598, allocations: 0.4977 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.9614, allocations: 0.6208 MB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.9643, allocations: 1.074 MB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9643, allocations: 0 / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004047/0.9684, allocations: 1.372 MB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.9684, allocations: 8 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.9684, allocations: 0 / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.9691, allocations: 84.89 kB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.9705, allocations: 271.6 kB / 1.128 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.9727, allocations: 1.638 MB / 1.129 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9742, allocations: 163.2 kB / 1.13 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.9744, allocations: 47.95 kB / 1.13 GB, free: 7.836 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.0006452/0.975, allocations: 285.3 kB / 1.13 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.9753, allocations: 98.81 kB / 1.13 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.98, allocations: 1.68 MB / 1.132 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9801, allocations: 15.98 kB / 1.132 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.9801, allocations: 0 / 1.132 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.9801, allocations: 3.984 kB / 1.132 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.9864, allocations: 2.855 MB / 1.134 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.9864, allocations: 4 kB / 1.134 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.9879, allocations: 251.6 kB / 1.135 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.9883, allocations: 72.78 kB / 1.135 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.9885, allocations: 35.97 kB / 1.135 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.9905, allocations: 1.658 MB / 1.136 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9905, allocations: 3.938 kB / 1.136 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.9947, allocations: 1.527 MB / 1.138 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.9953, allocations: 319.4 kB / 1.138 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.9955, allocations: 27.98 kB / 1.138 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9967, allocations: 126.1 kB / 1.138 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.997, allocations: 84.88 kB / 1.138 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.9971, allocations: 47.97 kB / 1.139 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006762/0.9978, allocations: 471 kB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9978, allocations: 7.938 kB / 1.139 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001102/0.9989, allocations: 383 kB / 1.139 GB, free: 13.65 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.001513/1, allocations: 0.627 MB / 1.14 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004995/1.005, allocations: 1.651 MB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.006, allocations: 4 kB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/1.007, allocations: 0.8163 MB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.009, allocations: 308.5 kB / 1.143 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/1.015, allocations: 2.718 MB / 1.145 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/1.015, allocations: 1.084 MB / 1.146 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001689/1.017, allocations: 343.7 kB / 1.147 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/1.017, allocations: 135.3 kB / 1.147 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of SimCode: time 1.352e-06/1.017, allocations: 0 / 1.147 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of Templates: time 0.03637/1.054, allocations: 18.1 MB / 1.164 GB, free: 4.203 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