Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001571/0.001571, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001612/0.001612, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8843, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007887/0.8922, allocations: 6.471 MB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1902/1.082, allocations: 151.6 MB / 1.243 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/1.085, allocations: 19.78 kB / 1.243 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/1.086, allocations: 256.8 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/1.09, allocations: 0.6965 MB / 1.244 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/1.094, allocations: 1.356 MB / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004076/1.098, allocations: 2.673 MB / 1.248 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.1, allocations: 1.596 MB / 1.249 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/1.102, allocations: 1.156 MB / 1.251 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/1.104, allocations: 1.299 MB / 1.252 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009118/1.105, allocations: 328 kB / 1.252 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/1.107, allocations: 0.7027 MB / 1.253 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/1.108, allocations: 0.6971 MB / 1.253 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00207/1.11, allocations: 1.267 MB / 1.255 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004821/1.115, allocations: 3.557 MB / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.115, allocations: 0 / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.115, allocations: 0 / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001152/1.115, allocations: 0 / 1.258 GB, free: 15.98 MB / 0.9981 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.007859/1.123, allocations: 2.78 MB / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.123, allocations: 12.03 kB / 1.261 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/1.139, allocations: 2.104 MB / 1.263 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/1.142, allocations: 1.294 MB / 1.264 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/1.143, allocations: 168.5 kB / 1.264 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008533/1.143, allocations: 216 kB / 1.265 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/1.154, allocations: 3.282 MB / 1.268 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/1.154, allocations: 3.938 kB / 1.268 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000574/1.154, allocations: 96 kB / 1.268 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/1.154, allocations: 56 kB / 1.268 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/1.168, allocations: 4.197 MB / 1.272 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/1.186, allocations: 7.23 MB / 1.279 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009203/1.195, allocations: 2.887 MB / 1.282 GB, free: 7.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/1.2, allocations: 1.489 MB / 1.283 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/1.201, allocations: 0.5035 MB / 1.284 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005522/1.206, allocations: 1.844 MB / 1.286 GB, free: 3.375 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 6.112e-06/1.206, allocations: 4 kB / 1.286 GB, free: 3.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01625/1.222, allocations: 4.458 MB / 1.29 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.223, allocations: 205.9 kB / 1.29 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.224, allocations: 0.9487 MB / 1.291 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004751/1.225, allocations: 65.7 kB / 1.291 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/1.225, allocations: 0.7388 MB / 1.292 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009749/1.226, allocations: 0.6815 MB / 1.293 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/1.228, allocations: 399.1 kB / 1.293 GB, free: 11.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.228, allocations: 301.1 kB / 1.293 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/1.232, allocations: 1.253 MB / 1.294 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/1.237, allocations: 1.441 MB / 1.296 GB, free: 8.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00881/1.245, allocations: 2.606 MB / 1.298 GB, free: 6.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.245, allocations: 0 / 1.298 GB, free: 6.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01104/1.256, allocations: 3.124 MB / 1.302 GB, free: 2.988 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.257, allocations: 8 kB / 1.302 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.257, allocations: 0 / 1.302 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/1.257, allocations: 88.84 kB / 1.302 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/1.261, allocations: 0.6006 MB / 1.302 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.263, allocations: 1.63 MB / 1.304 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.267, allocations: 374 kB / 1.304 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/1.268, allocations: 95.89 kB / 1.304 GB, free: 56 kB / 1.029 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.001598/1.269, allocations: 436 kB / 1.305 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/1.27, allocations: 154.1 kB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.283, allocations: 3.712 MB / 1.308 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/1.283, allocations: 28 kB / 1.308 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.283, allocations: 0 / 1.308 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/1.283, allocations: 11.95 kB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.287, allocations: 2.448 MB / 1.311 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.287, allocations: 0 / 1.311 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/1.291, allocations: 0.5655 MB / 1.311 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/1.291, allocations: 80.73 kB / 1.311 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/1.292, allocations: 75.91 kB / 1.312 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/1.294, allocations: 1.658 MB / 1.313 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.294, allocations: 0 / 1.313 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.305, allocations: 3.214 MB / 1.316 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.306, allocations: 0.5452 MB / 1.317 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/1.307, allocations: 55.78 kB / 1.317 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.31, allocations: 270.6 kB / 1.317 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/1.31, allocations: 149.8 kB / 1.317 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/1.311, allocations: 95.91 kB / 1.317 GB, free: 2.305 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001465/1.312, allocations: 0.6997 MB / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.91e-07/1.312, allocations: 0 / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002236/1.314, allocations: 0.6387 MB / 1.319 GB, free: 0.957 MB / 1.045 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.001902/1.316, allocations: 0.6706 MB / 1.319 GB, free: 468 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.327, allocations: 3.155 MB / 1.322 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.327, allocations: 0 / 1.322 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005447/1.332, allocations: 1.755 MB / 1.324 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.334, allocations: 365.4 kB / 1.324 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.346, allocations: 4.223 MB / 1.329 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/1.347, allocations: 1.422 MB / 1.33 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.349, allocations: 291.2 kB / 1.33 GB, free: 5.18 MB / 1.061 GB Notification: Performance of SimCode: time 1.322e-06/1.349, allocations: 0 / 1.33 GB, free: 5.18 MB / 1.061 GB Notification: Performance of Templates: time 0.06185/1.411, allocations: 41.83 MB / 1.371 GB, free: 11.38 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches