Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_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_11_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.008249/0.008249, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.002597/0.002597, allocations: 195.5 kB / 16.67 MB, free: 5.91 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.624/2.624, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8799, allocations: 159.2 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007667/0.8876, allocations: 5.959 MB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1694/1.057, allocations: 151.2 MB / 1.374 GB, free: 4.281 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/1.058, allocations: 23.88 kB / 1.374 GB, free: 4.258 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/1.059, allocations: 241.7 kB / 1.374 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/1.062, allocations: 0.6453 MB / 1.375 GB, free: 3.375 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/1.064, allocations: 0.8715 MB / 1.376 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002321/1.067, allocations: 1.658 MB / 1.377 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/1.068, allocations: 0.6013 MB / 1.378 GB, free: 212 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/1.069, allocations: 0.6152 MB / 1.379 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/1.07, allocations: 0.6612 MB / 1.379 GB, free: 14.92 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004806/1.071, allocations: 156 kB / 1.379 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/1.072, allocations: 0.5073 MB / 1.38 GB, free: 14.27 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004653/1.072, allocations: 374.8 kB / 1.38 GB, free: 13.9 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009459/1.073, allocations: 0.7385 MB / 1.381 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/1.076, allocations: 2.042 MB / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.076, allocations: 0 / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.542e-06/1.076, allocations: 0 / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.731e-05/1.077, allocations: 0 / 1.383 GB, free: 11.11 MB / 1.107 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.003438/1.08, allocations: 1.765 MB / 1.385 GB, free: 9.289 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.08, allocations: 8.625 kB / 1.385 GB, free: 9.281 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/1.081, allocations: 231.8 kB / 1.385 GB, free: 9.055 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/1.082, allocations: 0.8645 MB / 1.386 GB, free: 8.145 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/1.082, allocations: 94.39 kB / 1.386 GB, free: 8.051 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.082, allocations: 116 kB / 1.386 GB, free: 7.938 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/1.084, allocations: 1.198 MB / 1.387 GB, free: 6.676 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.084, allocations: 0 / 1.387 GB, free: 6.676 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.084, allocations: 52 kB / 1.387 GB, free: 6.625 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/1.084, allocations: 28 kB / 1.387 GB, free: 6.598 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.086, allocations: 1.289 MB / 1.389 GB, free: 5.301 MB / 1.107 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.004737/1.091, allocations: 3.564 MB / 1.392 GB, free: 1.562 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/1.093, allocations: 0.812 MB / 1.393 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/1.093, allocations: 298.7 kB / 1.393 GB, free: 456 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/1.093, allocations: 36.59 kB / 1.393 GB, free: 420 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000855/1.094, allocations: 0.5174 MB / 1.394 GB, free: 15.88 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 2.705e-06/1.094, allocations: 0 / 1.394 GB, free: 15.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.00333/1.097, allocations: 1.283 MB / 1.395 GB, free: 14.57 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.098, allocations: 196.9 kB / 1.395 GB, free: 14.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/1.098, allocations: 0.7353 MB / 1.396 GB, free: 13.59 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/1.098, allocations: 45.7 kB / 1.396 GB, free: 13.54 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/1.099, allocations: 0.5242 MB / 1.396 GB, free: 13 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/1.099, allocations: 297.5 kB / 1.397 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.099, allocations: 178.5 kB / 1.397 GB, free: 12.53 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.099, allocations: 341.9 kB / 1.397 GB, free: 12.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/1.1, allocations: 289.8 kB / 1.397 GB, free: 11.91 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/1.101, allocations: 391.1 kB / 1.398 GB, free: 11.51 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.102, allocations: 0.6633 MB / 1.398 GB, free: 10.84 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.102, allocations: 0 / 1.398 GB, free: 10.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002024/1.104, allocations: 0.9272 MB / 1.399 GB, free: 9.898 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.104, allocations: 4 kB / 1.399 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.104, allocations: 3.938 kB / 1.399 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/1.104, allocations: 80.88 kB / 1.399 GB, free: 9.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/1.105, allocations: 179.7 kB / 1.4 GB, free: 9.633 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/1.107, allocations: 1.631 MB / 1.401 GB, free: 7.855 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/1.108, allocations: 99.36 kB / 1.401 GB, free: 7.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/1.108, allocations: 40.03 kB / 1.401 GB, free: 7.719 MB / 1.123 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.0005029/1.109, allocations: 315.8 kB / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.109, allocations: 95.39 kB / 1.402 GB, free: 7.309 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/1.111, allocations: 1.114 MB / 1.403 GB, free: 6.188 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.111, allocations: 11.94 kB / 1.403 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.111, allocations: 3.938 kB / 1.403 GB, free: 6.172 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.111, allocations: 7.984 kB / 1.403 GB, free: 6.164 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/1.113, allocations: 1.048 MB / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.113, allocations: 0 / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/1.114, allocations: 155.8 kB / 1.404 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/1.114, allocations: 72.8 kB / 1.404 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/1.114, allocations: 27.97 kB / 1.404 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.116, allocations: 1.67 MB / 1.406 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.116, allocations: 3.984 kB / 1.406 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/1.118, allocations: 0.9868 MB / 1.407 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/1.119, allocations: 288.1 kB / 1.407 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/1.119, allocations: 24 kB / 1.407 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/1.12, allocations: 65.95 kB / 1.407 GB, free: 1.594 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.12, allocations: 80.83 kB / 1.407 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/1.12, allocations: 31.98 kB / 1.407 GB, free: 1.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007537/1.121, allocations: 0.5146 MB / 1.408 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.121, allocations: 3.938 kB / 1.408 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001108/1.122, allocations: 402.8 kB / 1.408 GB, free: 0.5703 MB / 1.123 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.001472/1.123, allocations: 0.6023 MB / 1.409 GB, free: 140 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.125, allocations: 0.8509 MB / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.125, allocations: 0 / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/1.126, allocations: 0.508 MB / 1.41 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.127, allocations: 340 kB / 1.41 GB, free: 14.45 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/1.131, allocations: 2.001 MB / 1.412 GB, free: 12.42 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/1.132, allocations: 1.103 MB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000918/1.133, allocations: 303.5 kB / 1.414 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/1.133, allocations: 115.4 kB / 1.414 GB, free: 10.88 MB / 1.139 GB Notification: Performance of SimCode: time 7.62e-07/1.133, allocations: 4 kB / 1.414 GB, free: 10.87 MB / 1.139 GB Notification: Performance of Templates: time 0.02838/1.161, allocations: 16.65 MB / 1.43 GB, free: 10.41 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches