Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006752/0.006752, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001269/0.001269, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.09 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.008921/0.3385, allocations: 4.343 MB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1847/0.5232, allocations: 150.6 MB / 1.239 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.5241, allocations: 11.94 kB / 1.239 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.525, allocations: 178.3 kB / 1.239 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.5272, allocations: 0.5004 MB / 1.24 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.5294, allocations: 0.8316 MB / 1.241 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.531, allocations: 1.289 MB / 1.242 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.5318, allocations: 0.6179 MB / 1.243 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.5325, allocations: 478.3 kB / 1.243 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.533, allocations: 493.8 kB / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.5331, allocations: 116 kB / 1.244 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.5339, allocations: 487.6 kB / 1.244 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.5342, allocations: 295 kB / 1.244 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.5346, allocations: 0.5363 MB / 1.245 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.5362, allocations: 1.593 MB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5362, allocations: 0 / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5363, allocations: 0 / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.5363, allocations: 0 / 1.246 GB, free: 14.64 MB / 1.014 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.002229/0.5385, allocations: 1.422 MB / 1.248 GB, free: 13.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5386, allocations: 8.031 kB / 1.248 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/0.5394, allocations: 179.4 kB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5406, allocations: 0.7617 MB / 1.249 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.5407, allocations: 62 kB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5408, allocations: 87.98 kB / 1.249 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5422, allocations: 0.9067 MB / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.5422, allocations: 0 / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.5423, allocations: 36 kB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.5423, allocations: 20 kB / 1.25 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.544, allocations: 1.104 MB / 1.251 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.5476, allocations: 2.453 MB / 1.253 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.549, allocations: 0.7942 MB / 1.254 GB, free: 6.605 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.5495, allocations: 302.5 kB / 1.254 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.5496, allocations: 36.61 kB / 1.254 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/0.5504, allocations: 495 kB / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/0.5504, allocations: 0 / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003116/0.5536, allocations: 1.19 MB / 1.256 GB, free: 4.551 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/0.5537, allocations: 192.6 kB / 1.256 GB, free: 4.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.5545, allocations: 0.6292 MB / 1.257 GB, free: 3.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.5545, allocations: 49.7 kB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.5549, allocations: 392.3 kB / 1.257 GB, free: 3.238 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.5551, allocations: 256.3 kB / 1.257 GB, free: 2.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.5553, allocations: 162.5 kB / 1.258 GB, free: 2.816 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5555, allocations: 390.7 kB / 1.258 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.5561, allocations: 265.8 kB / 1.258 GB, free: 2.168 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.5567, allocations: 363 kB / 1.259 GB, free: 1.797 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5578, allocations: 0.5994 MB / 1.259 GB, free: 1.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5578, allocations: 4 kB / 1.259 GB, free: 1.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001871/0.5597, allocations: 0.8488 MB / 1.26 GB, free: 332 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.5597, allocations: 9.719 kB / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5598, allocations: 64 / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.5603, allocations: 92.81 kB / 1.26 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/0.561, allocations: 159.7 kB / 1.26 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6756/1.237, allocations: 1.618 MB / 1.262 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/1.238, allocations: 91.78 kB / 1.262 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/1.238, allocations: 38.17 kB / 1.262 GB, free: 172.6 MB / 1.014 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.0005471/1.238, allocations: 275.9 kB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/1.239, allocations: 82.17 kB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/1.241, allocations: 1.053 MB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.241, allocations: 9.25 kB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.241, allocations: 1.375 kB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.241, allocations: 4.359 kB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.243, allocations: 0.8854 MB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.243, allocations: 0 / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/1.243, allocations: 145.2 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/1.244, allocations: 71.7 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/1.244, allocations: 29.86 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.246, allocations: 1.659 MB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.246, allocations: 3.938 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.248, allocations: 0.9205 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/1.248, allocations: 272.4 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.248, allocations: 23.27 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/1.249, allocations: 67.88 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.249, allocations: 74.89 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/1.249, allocations: 32.64 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007542/1.25, allocations: 455.4 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/1.25, allocations: 0 / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001184/1.251, allocations: 308.8 kB / 1.268 GB, free: 169.6 MB / 1.014 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.001436/1.253, allocations: 0.6105 MB / 1.269 GB, free: 169.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001938/1.255, allocations: 0.827 MB / 1.27 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.255, allocations: 0.9062 kB / 1.27 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.256, allocations: 0.5087 MB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.257, allocations: 301.1 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/1.262, allocations: 1.731 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/1.262, allocations: 1.022 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001202/1.264, allocations: 258.9 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/1.264, allocations: 107.8 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.402e-06/1.264, allocations: 0 / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03413/1.298, allocations: 14.77 MB / 1.288 GB, free: 164.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches