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.001219/0.001219, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001646/0.001646, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005085, allocations: 12.5 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3632, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006963/0.3702, allocations: 5.18 MB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.5523, allocations: 137 MB / 1.197 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.5542, allocations: 19.88 kB / 1.197 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.5554, allocations: 170.5 kB / 1.197 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.5582, allocations: 0.5276 MB / 1.198 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.5606, allocations: 0.6496 MB / 1.198 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.5631, allocations: 1.443 MB / 1.2 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.5646, allocations: 0.6404 MB / 1.2 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5656, allocations: 414 kB / 1.201 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.5664, allocations: 453.6 kB / 1.201 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5666, allocations: 28 kB / 1.201 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009916/0.5676, allocations: 339.7 kB / 1.201 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5678, allocations: 211 kB / 1.202 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.5682, allocations: 257 kB / 1.202 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.5698, allocations: 1.453 MB / 1.203 GB, free: 160 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5698, allocations: 0 / 1.203 GB, free: 160 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5698, allocations: 0 / 1.203 GB, free: 160 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.5698, allocations: 4 kB / 1.203 GB, free: 156 kB / 0.9512 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.002604/0.5724, allocations: 1.463 MB / 1.205 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5725, allocations: 12.03 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.5734, allocations: 226.1 kB / 1.205 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5746, allocations: 0.8247 MB / 1.206 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.5747, allocations: 90.41 kB / 1.206 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5748, allocations: 116 kB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.5769, allocations: 1.194 MB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5769, allocations: 0 / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.577, allocations: 52 kB / 1.207 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.5771, allocations: 32 kB / 1.207 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.5791, allocations: 1.285 MB / 1.208 GB, free: 10.7 MB / 0.9669 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.005202/0.5843, allocations: 3.599 MB / 1.212 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5858, allocations: 0.8668 MB / 1.213 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.5863, allocations: 334.6 kB / 1.213 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.5864, allocations: 28.61 kB / 1.213 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.5873, allocations: 0.5236 MB / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=87): time 3.486e-06/0.5873, allocations: 0 / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=87): time 0.003089/0.5904, allocations: 1.291 MB / 1.215 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5906, allocations: 196.9 kB / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/0.5915, allocations: 0.7313 MB / 1.216 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.5916, allocations: 41.7 kB / 1.216 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.592, allocations: 0.5115 MB / 1.216 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.5922, allocations: 283.8 kB / 1.217 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.5923, allocations: 19.94 kB / 1.217 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5924, allocations: 341.9 kB / 1.217 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.593, allocations: 289.9 kB / 1.217 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.5936, allocations: 395.1 kB / 1.218 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.5942, allocations: 338.9 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5942, allocations: 0 / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001868/0.5961, allocations: 0.9151 MB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5961, allocations: 7.953 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5962, allocations: 4.062 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.5967, allocations: 88.86 kB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.5974, allocations: 179.7 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.5994, allocations: 1.538 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.6002, allocations: 115.2 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.6003, allocations: 39.97 kB / 1.221 GB, free: 13.61 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005348/0.6008, allocations: 299.4 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.601, allocations: 98.73 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.6033, allocations: 1.129 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.6034, allocations: 12 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6034, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6034, allocations: 7.969 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.6047, allocations: 1.059 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6048, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.6054, allocations: 159.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.6058, allocations: 88.75 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.6059, allocations: 35.97 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.6076, allocations: 1.532 MB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6076, allocations: 0 / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.6095, allocations: 0.9902 MB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.61, allocations: 303.5 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6102, allocations: 24 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.6109, allocations: 85.34 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.6111, allocations: 76.84 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.6111, allocations: 39.97 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007176/0.6119, allocations: 0.5029 MB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6119, allocations: 4 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001198/0.6131, allocations: 394.7 kB / 1.227 GB, free: 6.547 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/0.6147, allocations: 0.5804 MB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.6166, allocations: 0.8899 MB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6166, allocations: 0 / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.6176, allocations: 0.5471 MB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6189, allocations: 297.6 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.6231, allocations: 2.458 MB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/0.624, allocations: 1.11 MB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001055/0.6251, allocations: 307.5 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.6254, allocations: 107.4 kB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of SimCode: time 9.02e-07/0.6254, allocations: 0 / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of Templates: time 0.02854/0.654, allocations: 15.13 MB / 1.248 GB, free: 1.414 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches