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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001582/0.001582, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.33 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00895/0.3259, allocations: 5.957 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1679/0.4939, allocations: 148.5 MB / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.4954, allocations: 19.88 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4966, allocations: 190.5 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.4994, allocations: 0.5199 MB / 1.204 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.502, allocations: 0.762 MB / 1.204 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.5048, allocations: 1.552 MB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.5066, allocations: 0.8386 MB / 1.207 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.5077, allocations: 0.5292 MB / 1.207 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.509, allocations: 0.6299 MB / 1.208 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004738/0.5095, allocations: 88 kB / 1.208 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.5112, allocations: 431.6 kB / 1.208 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.5118, allocations: 302.8 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.513, allocations: 0.6799 MB / 1.209 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.5159, allocations: 1.92 MB / 1.211 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5159, allocations: 0 / 1.211 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5159, allocations: 0 / 1.211 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.413e-05/0.516, allocations: 0 / 1.211 GB, free: 5.332 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.00459/0.5206, allocations: 1.713 MB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5207, allocations: 12.03 kB / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5219, allocations: 219 kB / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.5235, allocations: 0.8443 MB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.5236, allocations: 90.41 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.5238, allocations: 120 kB / 1.214 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.5264, allocations: 1.202 MB / 1.215 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.5264, allocations: 3.938 kB / 1.215 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.5266, allocations: 51.98 kB / 1.215 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.5266, allocations: 28 kB / 1.215 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.5291, allocations: 1.281 MB / 1.217 GB, free: 15.61 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.005894/0.535, allocations: 3.582 MB / 1.22 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.5366, allocations: 0.8677 MB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.5372, allocations: 330.7 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.017e-05/0.5373, allocations: 24.62 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009731/0.5383, allocations: 0.5237 MB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 3.076e-06/0.5383, allocations: 0 / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.003531/0.5418, allocations: 1.286 MB / 1.223 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.5419, allocations: 192.9 kB / 1.223 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.5429, allocations: 0.7314 MB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.543, allocations: 41.7 kB / 1.224 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.5434, allocations: 0.5114 MB / 1.224 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.5437, allocations: 283.9 kB / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.5439, allocations: 182.4 kB / 1.225 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5441, allocations: 342 kB / 1.225 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.5446, allocations: 293.8 kB / 1.226 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.5453, allocations: 391.1 kB / 1.226 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5465, allocations: 0.6594 MB / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5465, allocations: 0 / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002128/0.5486, allocations: 0.9267 MB / 1.227 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5487, allocations: 4 kB / 1.227 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5487, allocations: 3.938 kB / 1.227 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.5493, allocations: 80.86 kB / 1.228 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.55, allocations: 179.7 kB / 1.228 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5521, allocations: 1.53 MB / 1.229 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.553, allocations: 113.4 kB / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.5531, allocations: 39.97 kB / 1.229 GB, free: 2.055 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.000578/0.5536, allocations: 300.8 kB / 1.23 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.5538, allocations: 90.88 kB / 1.23 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.5563, allocations: 1.118 MB / 1.231 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5563, allocations: 12 kB / 1.231 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5563, allocations: 0 / 1.231 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5563, allocations: 15.91 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.5576, allocations: 1.048 MB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5576, allocations: 0 / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.5582, allocations: 155.8 kB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.5588, allocations: 80.78 kB / 1.232 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.5589, allocations: 27.97 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.5607, allocations: 1.552 MB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5607, allocations: 0 / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.5629, allocations: 0.9863 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/0.5634, allocations: 287.6 kB / 1.235 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.5636, allocations: 20 kB / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.5644, allocations: 71.92 kB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.5645, allocations: 72.89 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.5646, allocations: 35.98 kB / 1.235 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007844/0.5654, allocations: 0.5184 MB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5654, allocations: 4 kB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001196/0.5666, allocations: 390.8 kB / 1.236 GB, free: 11.05 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.001679/0.5683, allocations: 0.6047 MB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.5704, allocations: 0.8781 MB / 1.237 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5704, allocations: 0 / 1.237 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5714, allocations: 0.5472 MB / 1.238 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5728, allocations: 300.4 kB / 1.238 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.5773, allocations: 2.524 MB / 1.241 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.5782, allocations: 1.11 MB / 1.242 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001095/0.5793, allocations: 307.4 kB / 1.242 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5796, allocations: 111.4 kB / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.5796, allocations: 0 / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.5939/1.174, allocations: 15.7 MB / 1.258 GB, free: 190.6 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