Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_11_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_11_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.001167/0.001167, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009005/0.009005, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.025/3.025, allocations: 470.6 MB / 0.7442 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 11.83 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4188, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006425/0.4253, allocations: 4.438 MB / 1.074 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2079/0.6332, allocations: 146.7 MB / 1.217 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6343, allocations: 19.88 kB / 1.217 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.6349, allocations: 154.8 kB / 1.218 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.637, allocations: 458.4 kB / 1.218 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.6393, allocations: 0.7182 MB / 1.219 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.6414, allocations: 1.284 MB / 1.22 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.6425, allocations: 0.5517 MB / 1.221 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007881/0.6433, allocations: 346.4 kB / 1.221 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.6439, allocations: 381.9 kB / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.644, allocations: 24 kB / 1.221 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.6449, allocations: 367.6 kB / 1.222 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.6452, allocations: 191.1 kB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.6457, allocations: 470.9 kB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.6477, allocations: 1.487 MB / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6477, allocations: 0 / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.697e-06/0.6477, allocations: 0 / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.6477, allocations: 0 / 1.224 GB, free: 13.28 MB / 0.9825 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.002602/0.6503, allocations: 1.212 MB / 1.225 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6504, allocations: 12.03 kB / 1.225 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.6514, allocations: 195.4 kB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.6527, allocations: 0.7382 MB / 1.226 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.6528, allocations: 58 kB / 1.226 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6529, allocations: 87.94 kB / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6547, allocations: 0.9145 MB / 1.227 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6548, allocations: 0 / 1.227 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.6549, allocations: 36 kB / 1.227 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6549, allocations: 20 kB / 1.227 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.6569, allocations: 1.116 MB / 1.228 GB, free: 8.766 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.005195/0.6621, allocations: 2.738 MB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.6638, allocations: 0.8026 MB / 1.231 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.6645, allocations: 310.6 kB / 1.232 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.559e-05/0.6646, allocations: 32.69 kB / 1.232 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.6656, allocations: 0.4913 MB / 1.232 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.325e-06/0.6656, allocations: 0 / 1.232 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003564/0.6692, allocations: 1.209 MB / 1.233 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.6694, allocations: 192.5 kB / 1.234 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.6704, allocations: 0.637 MB / 1.234 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.6705, allocations: 41.7 kB / 1.234 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.6708, allocations: 400.3 kB / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.6711, allocations: 260.3 kB / 1.235 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6712, allocations: 69.69 kB / 1.235 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.6715, allocations: 390.7 kB / 1.235 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.6721, allocations: 269.8 kB / 1.236 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.6727, allocations: 371.1 kB / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.674, allocations: 0.619 MB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.674, allocations: 0 / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002224/0.6762, allocations: 0.8566 MB / 1.237 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.6763, allocations: 9.25 kB / 1.237 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6763, allocations: 0 / 1.237 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.677, allocations: 84.83 kB / 1.237 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.6776, allocations: 167.7 kB / 1.238 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.6801, allocations: 1.532 MB / 1.239 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009882/0.6811, allocations: 104.6 kB / 1.239 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.6812, allocations: 39.97 kB / 1.239 GB, free: 12.77 MB / 0.9981 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.0006681/0.6818, allocations: 259.4 kB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6821, allocations: 86.91 kB / 1.24 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.6847, allocations: 1.069 MB / 1.241 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.6848, allocations: 8 kB / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6848, allocations: 0 / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6848, allocations: 3.984 kB / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.6862, allocations: 0.8956 MB / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6862, allocations: 0 / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.6868, allocations: 143.8 kB / 1.242 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.6874, allocations: 84.77 kB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.6874, allocations: 27.98 kB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.6897, allocations: 1.552 MB / 1.243 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6898, allocations: 3.938 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.6921, allocations: 0.9202 MB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/0.6926, allocations: 299.5 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6928, allocations: 19.94 kB / 1.245 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.6935, allocations: 92.89 kB / 1.245 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.6937, allocations: 68.84 kB / 1.245 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/0.6938, allocations: 39.97 kB / 1.245 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000686/0.6944, allocations: 455 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6945, allocations: 0 / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009603/0.6954, allocations: 319.3 kB / 1.245 GB, free: 6.203 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 (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.00212/0.6975, allocations: 0.6072 MB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.6995, allocations: 0.8313 MB / 1.247 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6995, allocations: 0 / 1.247 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7006, allocations: 0.5159 MB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.7021, allocations: 279.2 kB / 1.248 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.7059, allocations: 2.079 MB / 1.25 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.7068, allocations: 1.02 MB / 1.251 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000972/0.7077, allocations: 254.7 kB / 1.251 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.708, allocations: 107.4 kB / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.708, allocations: 0 / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of Templates: time 0.5781/1.286, allocations: 14.29 MB / 1.265 GB, free: 181.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches