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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001033/0.001033, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001313/0.001314, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 15.92 kB / 0.8722 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6267, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007994/0.6348, allocations: 7.368 MB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.7864, allocations: 138 MB / 1.164 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.7879, allocations: 23.88 kB / 1.164 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000772/0.7887, allocations: 234 kB / 1.165 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.7909, allocations: 0.6952 MB / 1.165 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.7933, allocations: 0.9909 MB / 1.166 GB, free: 12.37 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.7962, allocations: 2.58 MB / 1.169 GB, free: 9.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.7979, allocations: 1.114 MB / 1.17 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.7991, allocations: 0.7896 MB / 1.171 GB, free: 7.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.8004, allocations: 0.9292 MB / 1.172 GB, free: 6.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.8006, allocations: 64 kB / 1.172 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.8016, allocations: 391.6 kB / 1.172 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.802, allocations: 386.2 kB / 1.172 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.8025, allocations: 428.5 kB / 1.173 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.8051, allocations: 2.665 MB / 1.175 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8051, allocations: 4 kB / 1.175 GB, free: 2.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8051, allocations: 0 / 1.175 GB, free: 2.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.8051, allocations: 0 / 1.175 GB, free: 2.988 MB / 0.92 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.005247/0.8104, allocations: 2.345 MB / 1.178 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8104, allocations: 8.562 kB / 1.178 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/0.8247, allocations: 2.306 MB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.8271, allocations: 1.22 MB / 1.181 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.8273, allocations: 168.5 kB / 1.181 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.8277, allocations: 224 kB / 1.181 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00821/0.8359, allocations: 3.337 MB / 1.185 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.836, allocations: 3.938 kB / 1.185 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.8362, allocations: 92 kB / 1.185 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.8363, allocations: 52 kB / 1.185 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.8482, allocations: 4.334 MB / 1.189 GB, free: 4.668 MB / 0.9356 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.01646/0.8646, allocations: 8.131 MB / 1.197 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008099/0.8728, allocations: 2.893 MB / 1.2 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/0.8768, allocations: 1.501 MB / 1.201 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/0.8776, allocations: 0.5074 MB / 1.202 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004693/0.8823, allocations: 1.851 MB / 1.204 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=213): time 3.667e-06/0.8823, allocations: 4 kB / 1.204 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=213): time 0.01365/0.896, allocations: 4.493 MB / 1.208 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8961, allocations: 205.9 kB / 1.208 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.8974, allocations: 0.937 MB / 1.209 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.8977, allocations: 65.7 kB / 1.209 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/0.8984, allocations: 0.7388 MB / 1.21 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006624/0.899, allocations: 0.6814 MB / 1.211 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.8992, allocations: 36 kB / 1.211 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8994, allocations: 377.9 kB / 1.211 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/0.9033, allocations: 1.265 MB / 1.212 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/0.9074, allocations: 1.445 MB / 1.214 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.9114, allocations: 1.29 MB / 1.215 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9114, allocations: 0 / 1.215 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009298/0.9207, allocations: 3.132 MB / 1.218 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.9208, allocations: 4.062 kB / 1.218 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.9208, allocations: 8 kB / 1.218 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.9214, allocations: 88.77 kB / 1.218 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/0.9249, allocations: 0.6084 MB / 1.219 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.9268, allocations: 1.543 MB / 1.22 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/0.9298, allocations: 395.6 kB / 1.221 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.9301, allocations: 103.9 kB / 1.221 GB, free: 3.703 MB / 0.9669 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009954/0.9311, allocations: 448.1 kB / 1.221 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.9314, allocations: 162.1 kB / 1.221 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.9424, allocations: 3.735 MB / 1.225 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.9424, allocations: 20 kB / 1.225 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9424, allocations: 4.109 kB / 1.225 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.9425, allocations: 23.83 kB / 1.225 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.9456, allocations: 2.463 MB / 1.227 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.9456, allocations: 3.938 kB / 1.227 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00332/0.949, allocations: 0.5617 MB / 1.228 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.9495, allocations: 92.77 kB / 1.228 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.9497, allocations: 75.91 kB / 1.228 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.9515, allocations: 1.548 MB / 1.23 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9515, allocations: 0 / 1.23 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00941/0.9609, allocations: 3.222 MB / 1.233 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.962, allocations: 0.5684 MB / 1.233 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/0.9624, allocations: 47.98 kB / 1.233 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/0.9651, allocations: 307.6 kB / 1.234 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.9654, allocations: 145.8 kB / 1.234 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/0.9656, allocations: 95.91 kB / 1.234 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001007/0.9666, allocations: 0.688 MB / 1.234 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9667, allocations: 4 kB / 1.234 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00186/0.9685, allocations: 0.6777 MB / 1.235 GB, free: 4.562 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/0.9701, allocations: 0.6646 MB / 1.236 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009137/0.9793, allocations: 3.174 MB / 1.239 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.9793, allocations: 3.938 kB / 1.239 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004853/0.9842, allocations: 1.759 MB / 1.241 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.9861, allocations: 362.7 kB / 1.241 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009081/0.9952, allocations: 4.95 MB / 1.246 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.9962, allocations: 1.427 MB / 1.247 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00347/0.9997, allocations: 0.5795 MB / 1.248 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.001, allocations: 239.2 kB / 1.248 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.001, allocations: 0 / 1.248 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.5394/1.54, allocations: 29.04 MB / 1.276 GB, free: 219 MB / 0.9981 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