Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_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_11_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.006983/0.006983, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.00151/0.00151, allocations: 195.1 kB / 16.68 MB, free: 5.973 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.172 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 2.846/2.846, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 68.11 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3424, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0107/0.3531, allocations: 8.42 MB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9382/1.291, allocations: 152.3 MB / 1.378 GB, free: 7.426 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/1.293, allocations: 23.53 kB / 1.378 GB, free: 7.418 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/1.294, allocations: 326.6 kB / 1.378 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/1.298, allocations: 0.8671 MB / 1.379 GB, free: 6.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.301, allocations: 1.392 MB / 1.38 GB, free: 5.887 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004854/1.306, allocations: 2.994 MB / 1.383 GB, free: 4.133 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/1.308, allocations: 1.01 MB / 1.384 GB, free: 3.387 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/1.31, allocations: 1.207 MB / 1.385 GB, free: 2.645 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.313, allocations: 1.345 MB / 1.386 GB, free: 1.668 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006293/1.313, allocations: 325 kB / 1.387 GB, free: 1.668 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/1.315, allocations: 0.7064 MB / 1.387 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006269/1.316, allocations: 0.6951 MB / 1.388 GB, free: 0.875 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/1.317, allocations: 1.34 MB / 1.389 GB, free: 15.86 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00478/1.322, allocations: 3.67 MB / 1.393 GB, free: 13.1 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.322, allocations: 3.938 kB / 1.393 GB, free: 13.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.322, allocations: 0 / 1.393 GB, free: 13.09 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.292e-05/1.322, allocations: 1.344 kB / 1.393 GB, free: 13.09 MB / 1.092 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.007106/1.329, allocations: 2.888 MB / 1.396 GB, free: 11.01 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.329, allocations: 18.03 kB / 1.396 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/1.345, allocations: 2.126 MB / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/1.349, allocations: 1.293 MB / 1.399 GB, free: 8.973 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.349, allocations: 172.2 kB / 1.399 GB, free: 8.891 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/1.349, allocations: 217 kB / 1.4 GB, free: 8.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00946/1.359, allocations: 3.277 MB / 1.403 GB, free: 6.848 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/1.359, allocations: 9.594 kB / 1.403 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/1.359, allocations: 92.41 kB / 1.403 GB, free: 6.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/1.359, allocations: 55.16 kB / 1.403 GB, free: 6.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.372, allocations: 4.202 MB / 1.407 GB, free: 4.738 MB / 1.092 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.0203/1.392, allocations: 8.039 MB / 1.415 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009472/1.402, allocations: 2.704 MB / 1.418 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004711/1.407, allocations: 1.356 MB / 1.419 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/1.408, allocations: 0.5035 MB / 1.419 GB, free: 8.996 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005607/1.413, allocations: 1.848 MB / 1.421 GB, free: 7.129 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 7.364e-06/1.413, allocations: 0 / 1.421 GB, free: 7.129 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.01633/1.429, allocations: 4.474 MB / 1.426 GB, free: 2.629 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/1.43, allocations: 214 kB / 1.426 GB, free: 2.375 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.431, allocations: 0.9525 MB / 1.427 GB, free: 1.402 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/1.432, allocations: 61.7 kB / 1.427 GB, free: 1.336 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/1.433, allocations: 0.7562 MB / 1.427 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009758/1.434, allocations: 0.7128 MB / 1.428 GB, free: 15.85 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/1.435, allocations: 399.2 kB / 1.429 GB, free: 15.45 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.435, allocations: 301.1 kB / 1.429 GB, free: 15.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/1.439, allocations: 1.261 MB / 1.43 GB, free: 13.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/1.444, allocations: 1.437 MB / 1.431 GB, free: 12.43 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008629/1.453, allocations: 2.607 MB / 1.434 GB, free: 9.809 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.453, allocations: 4 kB / 1.434 GB, free: 9.805 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01191/1.465, allocations: 3.132 MB / 1.437 GB, free: 6.664 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/1.465, allocations: 5.719 kB / 1.437 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.465, allocations: 4 kB / 1.437 GB, free: 6.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/1.465, allocations: 88.83 kB / 1.437 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.469, allocations: 0.6011 MB / 1.438 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/1.472, allocations: 1.643 MB / 1.439 GB, free: 4.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/1.476, allocations: 370.5 kB / 1.44 GB, free: 3.816 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/1.476, allocations: 104.6 kB / 1.44 GB, free: 3.715 MB / 1.123 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.001552/1.478, allocations: 444.7 kB / 1.44 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008418/1.478, allocations: 163 kB / 1.44 GB, free: 3.109 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.491, allocations: 3.71 MB / 1.444 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/1.491, allocations: 20 kB / 1.444 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.491, allocations: 0.625 kB / 1.444 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/1.491, allocations: 11.95 kB / 1.444 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/1.495, allocations: 2.467 MB / 1.446 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.495, allocations: 4 kB / 1.446 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/1.499, allocations: 0.5589 MB / 1.447 GB, free: 12.28 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004911/1.5, allocations: 80.66 kB / 1.447 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.5, allocations: 75.91 kB / 1.447 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.502, allocations: 1.667 MB / 1.449 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.502, allocations: 0 / 1.449 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.513, allocations: 3.219 MB / 1.452 GB, free: 7.074 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.514, allocations: 0.5499 MB / 1.452 GB, free: 6.504 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007391/1.515, allocations: 55.89 kB / 1.452 GB, free: 6.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/1.518, allocations: 267.7 kB / 1.453 GB, free: 6.188 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/1.519, allocations: 149.8 kB / 1.453 GB, free: 6.043 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002823/1.519, allocations: 95.89 kB / 1.453 GB, free: 5.949 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001644/1.521, allocations: 0.6996 MB / 1.454 GB, free: 5.242 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.521, allocations: 4 kB / 1.454 GB, free: 5.238 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002524/1.523, allocations: 0.6858 MB / 1.454 GB, free: 4.551 MB / 1.139 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.001851/1.525, allocations: 0.6672 MB / 1.455 GB, free: 4.055 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009981/1.535, allocations: 3.03 MB / 1.458 GB, free: 1.008 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.535, allocations: 0 / 1.458 GB, free: 1.008 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/1.54, allocations: 1.619 MB / 1.46 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.542, allocations: 405.1 kB / 1.46 GB, free: 15.01 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.553, allocations: 4.135 MB / 1.464 GB, free: 10.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.554, allocations: 1.422 MB / 1.465 GB, free: 9.375 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003852/1.558, allocations: 0.5872 MB / 1.466 GB, free: 8.781 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.559, allocations: 235.2 kB / 1.466 GB, free: 8.551 MB / 1.154 GB Notification: Performance of SimCode: time 1.323e-06/1.559, allocations: 0 / 1.466 GB, free: 8.551 MB / 1.154 GB Notification: Performance of Templates: time 0.05836/1.618, allocations: 32.01 MB / 1.497 GB, free: 8.75 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches