Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.009484/0.009484, 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.002227/0.002227, allocations: 192 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.38/1.38, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.594/2.594, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.88 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8489, allocations: 159.9 MB / 1.226 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009477/0.8585, allocations: 8.414 MB / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1724/1.031, allocations: 151.8 MB / 1.382 GB, free: 12.71 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/1.033, allocations: 27.88 kB / 1.382 GB, free: 12.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/1.034, allocations: 320.6 kB / 1.382 GB, free: 12.37 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/1.038, allocations: 0.8522 MB / 1.383 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003705/1.042, allocations: 1.39 MB / 1.385 GB, free: 10.13 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004749/1.046, allocations: 2.994 MB / 1.387 GB, free: 7.125 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/1.049, allocations: 1.488 MB / 1.389 GB, free: 5.574 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/1.051, allocations: 1.188 MB / 1.39 GB, free: 4.383 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/1.052, allocations: 1.346 MB / 1.391 GB, free: 3.031 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/1.053, allocations: 324 kB / 1.392 GB, free: 2.715 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/1.054, allocations: 0.7066 MB / 1.392 GB, free: 2.008 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000576/1.055, allocations: 0.6971 MB / 1.393 GB, free: 1.309 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/1.056, allocations: 1.342 MB / 1.394 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.06, allocations: 3.678 MB / 1.398 GB, free: 12.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.06, allocations: 0 / 1.398 GB, free: 12.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.06, allocations: 0 / 1.398 GB, free: 12.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.217e-05/1.06, allocations: 0 / 1.398 GB, free: 12.27 MB / 1.123 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.006194/1.066, allocations: 2.892 MB / 1.401 GB, free: 9.305 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.066, allocations: 12.03 kB / 1.401 GB, free: 9.293 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/1.081, allocations: 2.125 MB / 1.403 GB, free: 7.164 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/1.085, allocations: 1.302 MB / 1.404 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/1.085, allocations: 172.5 kB / 1.404 GB, free: 5.641 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/1.085, allocations: 216 kB / 1.405 GB, free: 5.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008888/1.094, allocations: 3.278 MB / 1.408 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/1.094, allocations: 3.938 kB / 1.408 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/1.094, allocations: 96 kB / 1.408 GB, free: 1.961 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/1.095, allocations: 56 kB / 1.408 GB, free: 1.906 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/1.108, allocations: 4.201 MB / 1.412 GB, free: 13.68 MB / 1.139 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.01712/1.125, allocations: 8.04 MB / 1.42 GB, free: 5.375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00881/1.134, allocations: 2.886 MB / 1.423 GB, free: 2.488 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00468/1.138, allocations: 1.494 MB / 1.424 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/1.139, allocations: 0.4996 MB / 1.425 GB, free: 408 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004997/1.144, allocations: 1.844 MB / 1.426 GB, free: 14.53 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 3.727e-06/1.144, allocations: 3.938 kB / 1.426 GB, free: 14.53 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.01442/1.159, allocations: 4.482 MB / 1.431 GB, free: 10.02 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.159, allocations: 201.9 kB / 1.431 GB, free: 9.777 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/1.161, allocations: 0.9487 MB / 1.432 GB, free: 8.809 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/1.161, allocations: 65.7 kB / 1.432 GB, free: 8.738 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/1.161, allocations: 0.7562 MB / 1.433 GB, free: 7.973 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/1.162, allocations: 0.7126 MB / 1.433 GB, free: 7.254 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000747/1.163, allocations: 403.2 kB / 1.434 GB, free: 6.855 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/1.163, allocations: 305.1 kB / 1.434 GB, free: 6.555 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/1.167, allocations: 1.261 MB / 1.435 GB, free: 5.293 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.172, allocations: 1.43 MB / 1.437 GB, free: 3.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008482/1.18, allocations: 2.614 MB / 1.439 GB, free: 1.207 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.18, allocations: 3.938 kB / 1.439 GB, free: 1.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01023/1.19, allocations: 3.133 MB / 1.442 GB, free: 14.06 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.19, allocations: 9.25 kB / 1.442 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.191, allocations: 0 / 1.442 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/1.191, allocations: 92.8 kB / 1.442 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.195, allocations: 0.5967 MB / 1.443 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.197, allocations: 1.644 MB / 1.445 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/1.201, allocations: 370.5 kB / 1.445 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.201, allocations: 99.88 kB / 1.445 GB, free: 11.11 MB / 1.17 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.001286/1.202, allocations: 440.5 kB / 1.446 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/1.203, allocations: 163 kB / 1.446 GB, free: 10.51 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.214, allocations: 3.705 MB / 1.449 GB, free: 6.785 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/1.214, allocations: 20 kB / 1.449 GB, free: 6.766 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.214, allocations: 3.938 kB / 1.449 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.214, allocations: 11.95 kB / 1.449 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/1.218, allocations: 2.46 MB / 1.452 GB, free: 4.246 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.218, allocations: 4 kB / 1.452 GB, free: 4.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.222, allocations: 0.5695 MB / 1.452 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/1.222, allocations: 72.78 kB / 1.452 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/1.222, allocations: 71.91 kB / 1.452 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/1.224, allocations: 1.662 MB / 1.454 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.224, allocations: 0 / 1.454 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.235, allocations: 3.227 MB / 1.457 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.236, allocations: 0.5499 MB / 1.458 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/1.237, allocations: 59.64 kB / 1.458 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.24, allocations: 267.7 kB / 1.458 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/1.24, allocations: 153.7 kB / 1.458 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/1.241, allocations: 91.91 kB / 1.458 GB, free: 13.34 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001271/1.242, allocations: 0.6958 MB / 1.459 GB, free: 12.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.11e-07/1.242, allocations: 4 kB / 1.459 GB, free: 12.63 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002028/1.244, allocations: 0.6858 MB / 1.46 GB, free: 11.95 MB / 1.186 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.00175/1.246, allocations: 0.6514 MB / 1.46 GB, free: 11.46 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.256, allocations: 3.17 MB / 1.463 GB, free: 8.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.256, allocations: 0 / 1.463 GB, free: 8.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.261, allocations: 1.759 MB / 1.465 GB, free: 6.504 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.263, allocations: 405.5 kB / 1.465 GB, free: 6.129 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.274, allocations: 4.125 MB / 1.469 GB, free: 1.969 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.275, allocations: 1.434 MB / 1.471 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003843/1.279, allocations: 0.5756 MB / 1.471 GB, free: 15.91 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.281, allocations: 231.2 kB / 1.472 GB, free: 15.69 MB / 1.201 GB Notification: Performance of SimCode: time 1.213e-06/1.281, allocations: 0 / 1.472 GB, free: 15.69 MB / 1.201 GB Notification: Performance of Templates: time 0.05524/1.336, allocations: 31.81 MB / 1.503 GB, free: 68 kB / 1.217 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches