Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001764/0.001764, allocations: 191.9 kB / 16.14 MB, free: 6.719 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.836/2.836, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 66.59 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007276/0.3598, allocations: 4.86 MB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.5355, allocations: 148.3 MB / 1.202 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.5367, allocations: 19.88 kB / 1.202 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009315/0.5376, allocations: 150.8 kB / 1.202 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.5401, allocations: 468.9 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.5429, allocations: 0.7232 MB / 1.203 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.5455, allocations: 1.288 MB / 1.204 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.547, allocations: 0.5634 MB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.548, allocations: 418.3 kB / 1.205 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.5492, allocations: 461.8 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.5494, allocations: 60 kB / 1.206 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5504, allocations: 399.6 kB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5507, allocations: 239 kB / 1.206 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006713/0.5514, allocations: 0.501 MB / 1.207 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.5531, allocations: 1.523 MB / 1.208 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5531, allocations: 0 / 1.208 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5531, allocations: 0 / 1.208 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.5532, allocations: 0 / 1.208 GB, free: 8.32 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002852/0.556, allocations: 1.422 MB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5561, allocations: 12.03 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5571, allocations: 179.4 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5583, allocations: 0.7422 MB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.5584, allocations: 61.98 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5585, allocations: 88 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5601, allocations: 0.9067 MB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.5602, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.5603, allocations: 39.98 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.5603, allocations: 20 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5623, allocations: 1.1 MB / 1.213 GB, free: 3.629 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.004544/0.5668, allocations: 2.693 MB / 1.215 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.5685, allocations: 0.8123 MB / 1.216 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.5691, allocations: 306.8 kB / 1.216 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.5692, allocations: 32.52 kB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/0.5702, allocations: 499 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.066e-06/0.5702, allocations: 3.938 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003499/0.5737, allocations: 1.186 MB / 1.218 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5738, allocations: 196.6 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.5748, allocations: 0.6292 MB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.5748, allocations: 41.7 kB / 1.219 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.5752, allocations: 392.3 kB / 1.219 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.5754, allocations: 264.3 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.5757, allocations: 162.5 kB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5759, allocations: 386.7 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.5765, allocations: 277.8 kB / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.5772, allocations: 363.1 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5784, allocations: 0.6033 MB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5785, allocations: 4 kB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002113/0.5806, allocations: 0.8527 MB / 1.222 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5806, allocations: 8.094 kB / 1.222 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5806, allocations: 4 kB / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.5813, allocations: 80.77 kB / 1.222 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.5819, allocations: 163.7 kB / 1.222 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.5843, allocations: 1.516 MB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.5852, allocations: 105.3 kB / 1.224 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.5853, allocations: 39.97 kB / 1.224 GB, free: 7.645 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 (95): * Single equations (assignments): 94 * 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.0005304/0.5858, allocations: 257 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.586, allocations: 83 kB / 1.224 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.5886, allocations: 1.065 MB / 1.225 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5886, allocations: 12 kB / 1.225 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5886, allocations: 4 kB / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5886, allocations: 3.984 kB / 1.225 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5901, allocations: 0.8878 MB / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.5901, allocations: 0 / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.5908, allocations: 147.8 kB / 1.226 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/0.5913, allocations: 84.77 kB / 1.226 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.5914, allocations: 23.98 kB / 1.226 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.5936, allocations: 1.544 MB / 1.228 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5936, allocations: 7.969 kB / 1.228 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5957, allocations: 0.9124 MB / 1.229 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.5961, allocations: 283.5 kB / 1.229 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.5962, allocations: 16 kB / 1.229 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.5968, allocations: 67.88 kB / 1.229 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.5971, allocations: 68.89 kB / 1.229 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.5972, allocations: 39.97 kB / 1.229 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007588/0.5979, allocations: 451 kB / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5979, allocations: 0 / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009463/0.5989, allocations: 323.2 kB / 1.23 GB, free: 1.148 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 (91): * Single equations (assignments): 85 * 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.00147/0.6004, allocations: 0.6033 MB / 1.231 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.6023, allocations: 0.8195 MB / 1.231 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6024, allocations: 3.938 kB / 1.231 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6034, allocations: 0.5238 MB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.6046, allocations: 283.8 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.6082, allocations: 2.041 MB / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.6088, allocations: 1.02 MB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008961/0.6097, allocations: 258.7 kB / 1.235 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.61, allocations: 115.3 kB / 1.236 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/0.61, allocations: 0 / 1.236 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.5495/1.16, allocations: 14.38 MB / 1.25 GB, free: 192.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches