Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00528/0.00528, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.00115/0.00115, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.66 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2665, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007101/0.2737, allocations: 4.735 MB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.4411, allocations: 150.7 MB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.4419, allocations: 23.88 kB / 1.24 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.4426, allocations: 190.2 kB / 1.24 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.4444, allocations: 0.5416 MB / 1.24 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.4467, allocations: 0.8639 MB / 1.241 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.4485, allocations: 1.448 MB / 1.243 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.4496, allocations: 0.9158 MB / 1.244 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.4504, allocations: 0.5838 MB / 1.244 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.451, allocations: 0.6278 MB / 1.245 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.4512, allocations: 160 kB / 1.245 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.4521, allocations: 0.5075 MB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.4525, allocations: 378.7 kB / 1.246 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.4531, allocations: 0.6994 MB / 1.246 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.4552, allocations: 1.969 MB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4552, allocations: 0 / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4552, allocations: 0 / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.4552, allocations: 0 / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003287/0.4585, allocations: 1.73 MB / 1.25 GB, free: 10.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4586, allocations: 8.031 kB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4598, allocations: 231.8 kB / 1.25 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.4613, allocations: 0.8723 MB / 1.251 GB, free: 9.613 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/0.4614, allocations: 94.41 kB / 1.251 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4615, allocations: 116 kB / 1.251 GB, free: 9.406 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.4636, allocations: 1.198 MB / 1.253 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.4637, allocations: 7.938 kB / 1.253 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4638, allocations: 48 kB / 1.253 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.4638, allocations: 36 kB / 1.253 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.466, allocations: 1.285 MB / 1.254 GB, free: 6.762 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.4709, allocations: 3.126 MB / 1.257 GB, free: 3.559 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4725, allocations: 0.8627 MB / 1.258 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.4731, allocations: 326.6 kB / 1.258 GB, free: 2.367 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/0.4732, allocations: 36.61 kB / 1.258 GB, free: 2.332 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008914/0.4741, allocations: 0.5081 MB / 1.259 GB, free: 1.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.4741, allocations: 0 / 1.259 GB, free: 1.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003294/0.4774, allocations: 1.28 MB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.4775, allocations: 196.9 kB / 1.26 GB, free: 272 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5968/1.074, allocations: 0.7278 MB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/1.075, allocations: 43.95 kB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/1.075, allocations: 0.5233 MB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/1.076, allocations: 307.2 kB / 1.262 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/1.076, allocations: 173.6 kB / 1.262 GB, free: 173.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.076, allocations: 338 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/1.077, allocations: 287.8 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/1.078, allocations: 392.8 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.079, allocations: 0.6541 MB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.079, allocations: 1.562 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002777/1.082, allocations: 0.9221 MB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/1.082, allocations: 9.109 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.082, allocations: 2.75 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/1.083, allocations: 81.95 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/1.084, allocations: 181.3 kB / 1.265 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/1.086, allocations: 1.63 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.087, allocations: 107.7 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.088, allocations: 40.41 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 103 * 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.000672/1.088, allocations: 292.8 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.088, allocations: 100.7 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/1.091, allocations: 1.125 MB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.091, allocations: 10.47 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.091, allocations: 0 / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/1.091, allocations: 8.953 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/1.093, allocations: 1.048 MB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.093, allocations: 0.8438 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/1.094, allocations: 159.2 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.094, allocations: 73.08 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/1.094, allocations: 29.53 kB / 1.269 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.096, allocations: 1.659 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.096, allocations: 4.25 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.098, allocations: 0.9883 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/1.099, allocations: 290.7 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.099, allocations: 22.3 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/1.1, allocations: 64.78 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.1, allocations: 74.83 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/1.1, allocations: 38.23 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008239/1.101, allocations: 0.5111 MB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.101, allocations: 0 / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001258/1.102, allocations: 376.2 kB / 1.273 GB, free: 167.3 MB / 1.014 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001531/1.104, allocations: 0.606 MB / 1.274 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.106, allocations: 0.8861 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.106, allocations: 0.5938 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.107, allocations: 0.5443 MB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.109, allocations: 310.2 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/1.114, allocations: 2.103 MB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/1.115, allocations: 1.107 MB / 1.278 GB, free: 164.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001164/1.116, allocations: 273.6 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.116, allocations: 114.4 kB / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/1.116, allocations: 0 / 1.279 GB, free: 164.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03214/1.149, allocations: 15.74 MB / 1.294 GB, free: 160.6 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches