Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006225/0.006225, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001442/0.001442, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.11 kB / 1.018 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8712, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01139/0.8826, allocations: 8.462 MB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.166/1.049, allocations: 151.8 MB / 1.323 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.05, allocations: 23.88 kB / 1.323 GB, free: 2.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/1.051, allocations: 324.6 kB / 1.323 GB, free: 2.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/1.054, allocations: 0.8656 MB / 1.324 GB, free: 1.691 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/1.057, allocations: 1.384 MB / 1.326 GB, free: 320 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003578/1.061, allocations: 3.005 MB / 1.329 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/1.063, allocations: 1.491 MB / 1.33 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/1.065, allocations: 1.199 MB / 1.331 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.067, allocations: 1.35 MB / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006493/1.068, allocations: 324 kB / 1.333 GB, free: 8.863 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/1.069, allocations: 0.7065 MB / 1.334 GB, free: 8.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/1.07, allocations: 0.6933 MB / 1.334 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.071, allocations: 1.338 MB / 1.336 GB, free: 6.121 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/1.075, allocations: 3.678 MB / 1.339 GB, free: 2.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.075, allocations: 0 / 1.339 GB, free: 2.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/1.075, allocations: 4 kB / 1.339 GB, free: 2.426 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.92e-05/1.075, allocations: 0 / 1.339 GB, free: 2.426 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006228/1.081, allocations: 2.893 MB / 1.342 GB, free: 15.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.081, allocations: 8.031 kB / 1.342 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.096, allocations: 2.121 MB / 1.344 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/1.099, allocations: 1.302 MB / 1.345 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/1.099, allocations: 168.5 kB / 1.345 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/1.099, allocations: 216 kB / 1.346 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00836/1.108, allocations: 3.282 MB / 1.349 GB, free: 8.215 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/1.108, allocations: 0 / 1.349 GB, free: 8.215 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/1.108, allocations: 92 kB / 1.349 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/1.108, allocations: 56 kB / 1.349 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/1.121, allocations: 4.205 MB / 1.353 GB, free: 3.848 MB / 1.076 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.01631/1.137, allocations: 8.053 MB / 1.361 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008938/1.146, allocations: 2.884 MB / 1.364 GB, free: 8.641 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/1.151, allocations: 1.485 MB / 1.365 GB, free: 7.148 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/1.151, allocations: 0.5074 MB / 1.366 GB, free: 6.551 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005037/1.156, allocations: 1.848 MB / 1.368 GB, free: 4.684 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 3.757e-06/1.156, allocations: 0 / 1.368 GB, free: 4.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01469/1.171, allocations: 4.471 MB / 1.372 GB, free: 192 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.171, allocations: 209.9 kB / 1.372 GB, free: 15.94 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.173, allocations: 0.9565 MB / 1.373 GB, free: 14.96 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/1.173, allocations: 61.7 kB / 1.373 GB, free: 14.89 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005939/1.173, allocations: 0.7562 MB / 1.374 GB, free: 14.13 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/1.174, allocations: 0.7204 MB / 1.375 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/1.175, allocations: 391.3 kB / 1.375 GB, free: 13.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.175, allocations: 301.1 kB / 1.375 GB, free: 12.72 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.179, allocations: 1.261 MB / 1.376 GB, free: 11.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.184, allocations: 1.437 MB / 1.378 GB, free: 9.996 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008422/1.192, allocations: 2.61 MB / 1.38 GB, free: 7.367 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.192, allocations: 0 / 1.38 GB, free: 7.367 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01018/1.202, allocations: 3.129 MB / 1.383 GB, free: 4.227 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.202, allocations: 8 kB / 1.383 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.202, allocations: 0 / 1.383 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/1.203, allocations: 92.83 kB / 1.384 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/1.206, allocations: 0.6006 MB / 1.384 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/1.209, allocations: 1.646 MB / 1.386 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/1.212, allocations: 378.5 kB / 1.386 GB, free: 1.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.212, allocations: 103.9 kB / 1.386 GB, free: 1.262 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001069/1.213, allocations: 436.1 kB / 1.387 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.214, allocations: 166.9 kB / 1.387 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.226, allocations: 3.712 MB / 1.39 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.226, allocations: 20 kB / 1.39 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/1.226, allocations: 3.984 kB / 1.39 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/1.226, allocations: 7.969 kB / 1.39 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.229, allocations: 2.46 MB / 1.393 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.229, allocations: 0 / 1.393 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.233, allocations: 0.5616 MB / 1.393 GB, free: 9.832 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/1.233, allocations: 76.78 kB / 1.393 GB, free: 9.754 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003612/1.234, allocations: 75.91 kB / 1.394 GB, free: 9.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.236, allocations: 1.666 MB / 1.395 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.236, allocations: 0 / 1.395 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.246, allocations: 3.223 MB / 1.398 GB, free: 4.621 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.247, allocations: 0.5538 MB / 1.399 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/1.247, allocations: 55.83 kB / 1.399 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.25, allocations: 271.7 kB / 1.399 GB, free: 3.727 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.251, allocations: 149.8 kB / 1.399 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.251, allocations: 91.91 kB / 1.399 GB, free: 3.492 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001012/1.252, allocations: 0.6958 MB / 1.4 GB, free: 2.789 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.91e-07/1.252, allocations: 0 / 1.4 GB, free: 2.789 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001671/1.253, allocations: 0.6858 MB / 1.401 GB, free: 2.102 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001606/1.255, allocations: 0.6595 MB / 1.401 GB, free: 1.598 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.266, allocations: 3.166 MB / 1.404 GB, free: 14.41 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.266, allocations: 0 / 1.404 GB, free: 14.41 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/1.272, allocations: 1.759 MB / 1.406 GB, free: 12.65 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.274, allocations: 397.5 kB / 1.407 GB, free: 12.27 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.284, allocations: 4.143 MB / 1.411 GB, free: 8.09 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.285, allocations: 1.422 MB / 1.412 GB, free: 6.629 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003428/1.289, allocations: 0.5795 MB / 1.413 GB, free: 6.043 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.29, allocations: 243.2 kB / 1.413 GB, free: 5.809 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/1.29, allocations: 0 / 1.413 GB, free: 5.809 MB / 1.139 GB Notification: Performance of Templates: time 0.05595/1.346, allocations: 31.82 MB / 1.444 GB, free: 6.152 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches