Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_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.001031/0.001031, allocations: 92.16 kB / 16.02 MB, free: 80 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.001524/0.001524, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 12.61 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007029/0.3378, allocations: 5.498 MB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.5036, allocations: 146.9 MB / 1.208 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.5049, allocations: 19.88 kB / 1.208 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.5059, allocations: 182.5 kB / 1.208 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.5084, allocations: 0.5239 MB / 1.209 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.5107, allocations: 0.7592 MB / 1.21 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.513, allocations: 1.548 MB / 1.211 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.5144, allocations: 0.8152 MB / 1.212 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008639/0.5153, allocations: 421.9 kB / 1.212 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.5162, allocations: 477.2 kB / 1.213 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.5164, allocations: 28 kB / 1.213 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.5175, allocations: 367.7 kB / 1.213 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.5178, allocations: 218.8 kB / 1.213 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008341/0.5187, allocations: 0.5763 MB / 1.214 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5206, allocations: 1.465 MB / 1.215 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5206, allocations: 0 / 1.215 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5206, allocations: 4 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.305e-05/0.5207, allocations: 11.88 kB / 1.215 GB, free: 4.562 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003077/0.5238, allocations: 1.436 MB / 1.217 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5239, allocations: 12.03 kB / 1.217 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.525, allocations: 227 kB / 1.217 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.5266, allocations: 0.8521 MB / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.5267, allocations: 86.41 kB / 1.218 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.5269, allocations: 116 kB / 1.218 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.5293, allocations: 1.202 MB / 1.219 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.5293, allocations: 0 / 1.219 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.5294, allocations: 48 kB / 1.219 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.5295, allocations: 35.94 kB / 1.219 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.5318, allocations: 1.293 MB / 1.221 GB, free: 15.09 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.0058/0.5376, allocations: 3.629 MB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.5392, allocations: 0.8677 MB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.5399, allocations: 330.7 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.218e-05/0.54, allocations: 36.53 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.541, allocations: 0.5199 MB / 1.226 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 3.396e-06/0.541, allocations: 4 kB / 1.226 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.003451/0.5445, allocations: 1.298 MB / 1.227 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5446, allocations: 188.9 kB / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.5457, allocations: 0.7392 MB / 1.228 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/0.5459, allocations: 41.7 kB / 1.228 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.5463, allocations: 0.5154 MB / 1.229 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.5465, allocations: 283.9 kB / 1.229 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.5467, allocations: 73.67 kB / 1.229 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5468, allocations: 337.9 kB / 1.229 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.5474, allocations: 297.8 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.5481, allocations: 391.1 kB / 1.23 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5494, allocations: 0.6711 MB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5494, allocations: 0 / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002171/0.5516, allocations: 0.9307 MB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5516, allocations: 12.03 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.5516, allocations: 7.938 kB / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.5523, allocations: 80.78 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.553, allocations: 179.7 kB / 1.232 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.5553, allocations: 1.532 MB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/0.5563, allocations: 111.2 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5564, allocations: 43.97 kB / 1.233 GB, free: 1.531 MB / 0.9825 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.0006716/0.5571, allocations: 300 kB / 1.234 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.5573, allocations: 90.88 kB / 1.234 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.56, allocations: 1.137 MB / 1.235 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.56, allocations: 12 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5601, allocations: 0 / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5601, allocations: 11.92 kB / 1.235 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.5617, allocations: 1.048 MB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.5617, allocations: 0 / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.5623, allocations: 155.8 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.5629, allocations: 88.77 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.563, allocations: 23.98 kB / 1.236 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.5649, allocations: 1.552 MB / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5649, allocations: 0 / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.5671, allocations: 0.9902 MB / 1.239 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.5677, allocations: 303.5 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.5679, allocations: 27.98 kB / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/0.5687, allocations: 89.28 kB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5689, allocations: 76.89 kB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.569, allocations: 35.98 kB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007549/0.5698, allocations: 0.5107 MB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5698, allocations: 0 / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001101/0.5709, allocations: 394.7 kB / 1.24 GB, free: 10.47 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.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.001506/0.5724, allocations: 0.6132 MB / 1.241 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.5743, allocations: 0.8937 MB / 1.241 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5743, allocations: 192 / 1.241 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5754, allocations: 0.5471 MB / 1.242 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.5771, allocations: 305 kB / 1.242 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.5815, allocations: 2.605 MB / 1.245 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.5823, allocations: 1.099 MB / 1.246 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.5827, allocations: 127.4 kB / 1.246 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.5827, allocations: 0 / 1.246 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of Templates: time 0.5518/1.134, allocations: 21.62 MB / 1.267 GB, free: 185.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches