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.007828/0.007828, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001769/0.001769, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.605/2.605, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.23 kB / 0.9508 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007214/0.3261, allocations: 4.338 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5058, allocations: 150.6 MB / 1.239 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008269/0.5067, allocations: 19.88 kB / 1.239 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.5072, allocations: 174.4 kB / 1.239 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.509, allocations: 0.4896 MB / 1.24 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5109, allocations: 0.8345 MB / 1.241 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.5124, allocations: 1.297 MB / 1.242 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.5132, allocations: 0.6062 MB / 1.243 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.5138, allocations: 466.4 kB / 1.243 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.5144, allocations: 497.8 kB / 1.243 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.5145, allocations: 112 kB / 1.244 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.5155, allocations: 487.6 kB / 1.244 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.5157, allocations: 303 kB / 1.244 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.5162, allocations: 0.5285 MB / 1.245 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.5182, allocations: 1.593 MB / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5183, allocations: 0 / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5183, allocations: 0 / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.5183, allocations: 0 / 1.246 GB, free: 14.57 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.002501/0.5208, allocations: 1.414 MB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5209, allocations: 12.03 kB / 1.248 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/0.5218, allocations: 183.4 kB / 1.248 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.523, allocations: 0.7617 MB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.5231, allocations: 62 kB / 1.249 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5232, allocations: 84 kB / 1.249 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5247, allocations: 0.9106 MB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5248, allocations: 0 / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5248, allocations: 47.92 kB / 1.25 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.5249, allocations: 20 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5266, allocations: 1.1 MB / 1.251 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.5305, allocations: 2.453 MB / 1.253 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.5319, allocations: 0.7979 MB / 1.254 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.5325, allocations: 302.6 kB / 1.254 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.816e-05/0.5326, allocations: 32.67 kB / 1.254 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008395/0.5334, allocations: 495.1 kB / 1.255 GB, free: 5.699 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.064e-06/0.5334, allocations: 0 / 1.255 GB, free: 5.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003213/0.5367, allocations: 1.186 MB / 1.256 GB, free: 4.484 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5368, allocations: 192.6 kB / 1.256 GB, free: 4.254 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.5376, allocations: 0.637 MB / 1.257 GB, free: 3.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.5376, allocations: 41.7 kB / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.5379, allocations: 392.3 kB / 1.257 GB, free: 3.172 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5382, allocations: 256.3 kB / 1.257 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.5384, allocations: 162.5 kB / 1.258 GB, free: 2.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5386, allocations: 394.7 kB / 1.258 GB, free: 2.355 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.5392, allocations: 261.8 kB / 1.258 GB, free: 2.102 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.5398, allocations: 363 kB / 1.259 GB, free: 1.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5409, allocations: 0.5995 MB / 1.259 GB, free: 1.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5409, allocations: 0 / 1.259 GB, free: 1.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00194/0.5429, allocations: 0.8527 MB / 1.26 GB, free: 264 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5429, allocations: 4 kB / 1.26 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5429, allocations: 4.094 kB / 1.26 GB, free: 256 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.5436, allocations: 80.77 kB / 1.26 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.5442, allocations: 167.7 kB / 1.26 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6616/1.206, allocations: 1.615 MB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.207, allocations: 89.64 kB / 1.262 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.207, allocations: 36.5 kB / 1.262 GB, free: 172.5 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.000536/1.208, allocations: 271 kB / 1.262 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/1.208, allocations: 82.56 kB / 1.262 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/1.21, allocations: 1.061 MB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.21, allocations: 11.95 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.21, allocations: 0.9375 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.21, allocations: 4.922 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/1.212, allocations: 0.8877 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.212, allocations: 1.547 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/1.212, allocations: 141.4 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/1.213, allocations: 74.33 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/1.213, allocations: 30.12 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/1.215, allocations: 1.657 MB / 1.266 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.215, allocations: 3.938 kB / 1.266 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/1.217, allocations: 0.9238 MB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/1.217, allocations: 268.7 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.217, allocations: 22.45 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/1.218, allocations: 68.7 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.218, allocations: 71.47 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/1.218, allocations: 33.03 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006587/1.219, allocations: 458.4 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/1.219, allocations: 0.7812 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000982/1.22, allocations: 309.8 kB / 1.268 GB, free: 169.5 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.001299/1.221, allocations: 0.6035 MB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001797/1.223, allocations: 0.8267 MB / 1.27 GB, free: 169 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.223, allocations: 0.9062 kB / 1.27 GB, free: 169 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/1.224, allocations: 0.5086 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.225, allocations: 302.6 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/1.229, allocations: 1.726 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/1.23, allocations: 1.021 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000985/1.231, allocations: 267.1 kB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/1.232, allocations: 103.6 kB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.232, allocations: 0 / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of Templates: time 0.02948/1.261, allocations: 14.78 MB / 1.288 GB, free: 164.2 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