Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00156/0.00156, allocations: 100.1 kB / 15.88 MB, free: 12 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.001265/0.001266, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 61.98 kB / 0.899 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3612, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008291/0.3695, allocations: 5.378 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.537, allocations: 148.5 MB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.5383, allocations: 19.88 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009817/0.5393, allocations: 158.8 kB / 1.203 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.5417, allocations: 499.9 kB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5442, allocations: 0.8298 MB / 1.205 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.5463, allocations: 1.507 MB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.5477, allocations: 0.7221 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009467/0.5486, allocations: 0.5136 MB / 1.207 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008985/0.5495, allocations: 0.6124 MB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.5498, allocations: 72 kB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.551, allocations: 439.6 kB / 1.208 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.5514, allocations: 290.9 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008495/0.5523, allocations: 0.6099 MB / 1.209 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.5539, allocations: 1.391 MB / 1.21 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5539, allocations: 4 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.554, allocations: 0 / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.587e-05/0.554, allocations: 0 / 1.211 GB, free: 6.133 MB / 0.9669 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.003892/0.5579, allocations: 1.669 MB / 1.212 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.558, allocations: 8.031 kB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.5634, allocations: 0.76 MB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.5649, allocations: 0.8122 MB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.647e-05/0.5651, allocations: 90.19 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.5653, allocations: 108 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.5691, allocations: 1.436 MB / 1.215 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.5692, allocations: 4 kB / 1.215 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.5693, allocations: 40 kB / 1.215 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.5694, allocations: 28 kB / 1.215 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004833/0.5742, allocations: 1.893 MB / 1.217 GB, free: 15.12 MB / 0.9825 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.007225/0.5814, allocations: 3.527 MB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.585, allocations: 1.387 MB / 1.222 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.5866, allocations: 0.6011 MB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/0.5875, allocations: 478.6 kB / 1.223 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/0.5896, allocations: 0.8049 MB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 3.767e-06/0.5896, allocations: 0 / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.006248/0.5959, allocations: 1.981 MB / 1.226 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.596, allocations: 192.9 kB / 1.226 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.597, allocations: 0.6527 MB / 1.227 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.5972, allocations: 45.7 kB / 1.227 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5976, allocations: 436.5 kB / 1.227 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.5979, allocations: 358.8 kB / 1.227 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.5983, allocations: 206.5 kB / 1.228 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5985, allocations: 402.7 kB / 1.228 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.6, allocations: 0.4977 MB / 1.228 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.6016, allocations: 0.613 MB / 1.229 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.6046, allocations: 1.09 MB / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6046, allocations: 0 / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004034/0.6086, allocations: 1.372 MB / 1.231 GB, free: 96 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6087, allocations: 4 kB / 1.231 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6087, allocations: 4 kB / 1.231 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.6093, allocations: 80.81 kB / 1.232 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.6108, allocations: 271.6 kB / 1.232 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.613, allocations: 1.53 MB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.6145, allocations: 167.1 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.6146, allocations: 51.95 kB / 1.233 GB, free: 13.86 MB / 0.9981 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.0006662/0.6153, allocations: 289.3 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.6156, allocations: 90.88 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/0.6204, allocations: 1.68 MB / 1.235 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.6205, allocations: 15.98 kB / 1.236 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6205, allocations: 3.938 kB / 1.236 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6205, allocations: 3.984 kB / 1.236 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.6266, allocations: 2.794 MB / 1.238 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6267, allocations: 0 / 1.238 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.628, allocations: 251.7 kB / 1.238 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.6286, allocations: 88.7 kB / 1.239 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6287, allocations: 39.91 kB / 1.239 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.6306, allocations: 1.548 MB / 1.24 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6306, allocations: 0 / 1.24 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.6349, allocations: 1.523 MB / 1.242 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.6355, allocations: 323.4 kB / 1.242 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.6358, allocations: 27.98 kB / 1.242 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6372, allocations: 117.1 kB / 1.242 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.6374, allocations: 100.8 kB / 1.242 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.6375, allocations: 43.97 kB / 1.242 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007523/0.6383, allocations: 467 kB / 1.243 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6383, allocations: 0 / 1.243 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001331/0.6396, allocations: 407 kB / 1.243 GB, free: 3.82 MB / 0.9981 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.001691/0.6413, allocations: 0.6266 MB / 1.244 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003965/0.6453, allocations: 1.39 MB / 1.245 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.6454, allocations: 4 kB / 1.245 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.6474, allocations: 0.8201 MB / 1.246 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6491, allocations: 282.5 kB / 1.246 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5533/1.202, allocations: 2.653 MB / 1.249 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/1.203, allocations: 1.082 MB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008627/1.204, allocations: 149.8 kB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.204, allocations: 0 / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04151/1.246, allocations: 22.74 MB / 1.272 GB, free: 184.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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