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.001738/0.001738, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.001929/0.001929, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 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.6/2.6, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9994/1.001, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01186/1.013, allocations: 8.463 MB / 1.176 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1949/1.208, allocations: 151.8 MB / 1.324 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/1.21, allocations: 23.88 kB / 1.324 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.212, allocations: 324.7 kB / 1.324 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/1.215, allocations: 0.8697 MB / 1.325 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/1.219, allocations: 1.384 MB / 1.326 GB, free: 476 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004841/1.223, allocations: 3.013 MB / 1.329 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/1.226, allocations: 1.488 MB / 1.331 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/1.228, allocations: 1.203 MB / 1.332 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/1.23, allocations: 1.346 MB / 1.333 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006777/1.231, allocations: 324 kB / 1.334 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/1.233, allocations: 0.7104 MB / 1.334 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/1.233, allocations: 0.6933 MB / 1.335 GB, free: 7.605 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/1.235, allocations: 1.338 MB / 1.336 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/1.24, allocations: 3.674 MB / 1.34 GB, free: 2.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.24, allocations: 0 / 1.34 GB, free: 2.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/1.24, allocations: 0 / 1.34 GB, free: 2.574 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.508e-05/1.24, allocations: 4 kB / 1.34 GB, free: 2.57 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.006515/1.247, allocations: 2.889 MB / 1.343 GB, free: 15.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.247, allocations: 12.03 kB / 1.343 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/1.262, allocations: 2.117 MB / 1.345 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/1.264, allocations: 1.302 MB / 1.346 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/1.265, allocations: 168.5 kB / 1.346 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/1.265, allocations: 224 kB / 1.346 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009589/1.275, allocations: 3.278 MB / 1.35 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/1.275, allocations: 0 / 1.35 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/1.275, allocations: 92 kB / 1.35 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/1.275, allocations: 52 kB / 1.35 GB, free: 8.219 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/1.289, allocations: 4.209 MB / 1.354 GB, free: 3.992 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.01914/1.308, allocations: 8.053 MB / 1.362 GB, free: 11.67 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009396/1.318, allocations: 2.888 MB / 1.364 GB, free: 8.781 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004727/1.322, allocations: 1.485 MB / 1.366 GB, free: 7.289 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008423/1.323, allocations: 0.5074 MB / 1.366 GB, free: 6.691 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005536/1.329, allocations: 1.84 MB / 1.368 GB, free: 4.832 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 4.809e-06/1.329, allocations: 4 kB / 1.368 GB, free: 4.828 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01568/1.344, allocations: 4.479 MB / 1.373 GB, free: 332 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.345, allocations: 205.9 kB / 1.373 GB, free: 80 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.346, allocations: 0.9487 MB / 1.374 GB, free: 15.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/1.346, allocations: 69.7 kB / 1.374 GB, free: 15.04 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/1.347, allocations: 0.7561 MB / 1.375 GB, free: 14.27 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008082/1.348, allocations: 0.7126 MB / 1.375 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008162/1.349, allocations: 395.3 kB / 1.376 GB, free: 13.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.349, allocations: 301.1 kB / 1.376 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004388/1.353, allocations: 1.261 MB / 1.377 GB, free: 11.6 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004637/1.358, allocations: 1.437 MB / 1.379 GB, free: 10.14 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/1.367, allocations: 2.614 MB / 1.381 GB, free: 7.508 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.367, allocations: 64 / 1.381 GB, free: 7.508 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01095/1.378, allocations: 3.133 MB / 1.384 GB, free: 4.363 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.378, allocations: 8 kB / 1.384 GB, free: 4.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.378, allocations: 0 / 1.384 GB, free: 4.355 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.379, allocations: 92.77 kB / 1.384 GB, free: 4.262 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/1.383, allocations: 0.6007 MB / 1.385 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.385, allocations: 1.642 MB / 1.386 GB, free: 1.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/1.389, allocations: 378.5 kB / 1.387 GB, free: 1.504 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/1.389, allocations: 99.89 kB / 1.387 GB, free: 1.406 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.001139/1.39, allocations: 436 kB / 1.387 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/1.391, allocations: 167 kB / 1.387 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.403, allocations: 3.712 MB / 1.391 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/1.403, allocations: 24 kB / 1.391 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.403, allocations: 0 / 1.391 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.403, allocations: 12.06 kB / 1.391 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/1.407, allocations: 2.452 MB / 1.394 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.407, allocations: 0 / 1.394 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003686/1.411, allocations: 0.5655 MB / 1.394 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.411, allocations: 80.78 kB / 1.394 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/1.412, allocations: 71.91 kB / 1.394 GB, free: 9.824 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/1.414, allocations: 1.666 MB / 1.396 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.414, allocations: 0 / 1.396 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.426, allocations: 3.219 MB / 1.399 GB, free: 4.77 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.427, allocations: 0.5501 MB / 1.4 GB, free: 4.199 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007415/1.428, allocations: 51.95 kB / 1.4 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/1.432, allocations: 283.7 kB / 1.4 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/1.432, allocations: 145.8 kB / 1.4 GB, free: 3.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004466/1.433, allocations: 95.91 kB / 1.4 GB, free: 3.637 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001556/1.434, allocations: 0.6958 MB / 1.401 GB, free: 2.934 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.434, allocations: 0 / 1.401 GB, free: 2.934 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002782/1.437, allocations: 0.6858 MB / 1.401 GB, free: 2.246 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.002795/1.44, allocations: 0.6718 MB / 1.402 GB, free: 1.734 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.451, allocations: 3.159 MB / 1.405 GB, free: 14.56 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.451, allocations: 4.25 kB / 1.405 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005915/1.457, allocations: 1.759 MB / 1.407 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.46, allocations: 390.4 kB / 1.407 GB, free: 12.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.472, allocations: 4.147 MB / 1.411 GB, free: 8.234 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/1.474, allocations: 1.422 MB / 1.413 GB, free: 6.773 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.005288/1.479, allocations: 0.5795 MB / 1.413 GB, free: 6.188 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/1.481, allocations: 239.2 kB / 1.413 GB, free: 5.957 MB / 1.139 GB Notification: Performance of SimCode: time 1.153e-06/1.481, allocations: 0 / 1.413 GB, free: 5.957 MB / 1.139 GB Notification: Performance of Templates: time 0.07654/1.558, allocations: 31.95 MB / 1.445 GB, free: 6.168 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches