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.001828/0.001828, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002128/0.002128, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.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.8/2.8, allocations: 437 MB / 0.7101 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002649, allocations: 67.91 kB / 0.8687 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6233, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01103/0.6343, allocations: 8.401 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.8203, allocations: 149.6 MB / 1.171 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8218, allocations: 19.94 kB / 1.171 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009486/0.8228, allocations: 234 kB / 1.171 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.8259, allocations: 0.7533 MB / 1.172 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.8295, allocations: 1.249 MB / 1.173 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004564/0.8341, allocations: 2.986 MB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.8369, allocations: 1.488 MB / 1.178 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.8399, allocations: 1.195 MB / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.8425, allocations: 1.335 MB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.844, allocations: 331.9 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.8466, allocations: 0.6715 MB / 1.181 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.8474, allocations: 0.6972 MB / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.849, allocations: 1.337 MB / 1.183 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.8541, allocations: 3.591 MB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8541, allocations: 4 kB / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8541, allocations: 4 kB / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.291e-05/0.8542, allocations: 0 / 1.187 GB, free: 4.102 MB / 0.9356 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.006865/0.8611, allocations: 2.82 MB / 1.189 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8611, allocations: 12.03 kB / 1.189 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.8777, allocations: 2.108 MB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.8808, allocations: 1.267 MB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.881, allocations: 168.5 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.8816, allocations: 223.9 kB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00968/0.8913, allocations: 3.282 MB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.8914, allocations: 0 / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.8917, allocations: 95.94 kB / 1.196 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.8917, allocations: 60 kB / 1.196 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.9055, allocations: 4.197 MB / 1.2 GB, free: 5.637 MB / 0.9512 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.02055/0.9261, allocations: 8.1 MB / 1.208 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009732/0.9358, allocations: 2.887 MB / 1.211 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004836/0.9407, allocations: 1.485 MB / 1.213 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009086/0.9417, allocations: 0.5035 MB / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005539/0.9472, allocations: 1.844 MB / 1.215 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 3.657e-06/0.9472, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01552/0.9628, allocations: 4.466 MB / 1.219 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.9629, allocations: 209.9 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.9644, allocations: 0.9486 MB / 1.22 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.9647, allocations: 61.7 kB / 1.22 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/0.9654, allocations: 0.7427 MB / 1.221 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/0.9662, allocations: 0.6776 MB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008088/0.9671, allocations: 395.1 kB / 1.222 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9672, allocations: 301.1 kB / 1.223 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004352/0.9716, allocations: 1.261 MB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004563/0.9761, allocations: 1.445 MB / 1.225 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008805/0.985, allocations: 2.606 MB / 1.228 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.985, allocations: 112 / 1.228 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01075/0.9958, allocations: 3.132 MB / 1.231 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.9958, allocations: 4 kB / 1.231 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.9958, allocations: 4 kB / 1.231 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.9965, allocations: 88.83 kB / 1.231 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/1.001, allocations: 0.6006 MB / 1.231 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/1.003, allocations: 1.666 MB / 1.233 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.007, allocations: 378.1 kB / 1.233 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/1.007, allocations: 99.89 kB / 1.234 GB, free: 3.039 MB / 0.9825 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.001267/1.008, allocations: 440 kB / 1.234 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.009, allocations: 150.1 kB / 1.234 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.022, allocations: 3.72 MB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/1.022, allocations: 27.98 kB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.022, allocations: 0 / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/1.022, allocations: 7.969 kB / 1.238 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/1.027, allocations: 2.459 MB / 1.24 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.027, allocations: 3.938 kB / 1.24 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003837/1.031, allocations: 0.5577 MB / 1.241 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/1.031, allocations: 76.78 kB / 1.241 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/1.031, allocations: 79.91 kB / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/1.034, allocations: 1.658 MB / 1.242 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.034, allocations: 64 / 1.242 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.044, allocations: 3.21 MB / 1.246 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.046, allocations: 0.5413 MB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/1.047, allocations: 59.78 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.05, allocations: 275.7 kB / 1.246 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/1.05, allocations: 157.7 kB / 1.247 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.05, allocations: 91.91 kB / 1.247 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001066/1.051, allocations: 0.6997 MB / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.051, allocations: 0 / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002334/1.054, allocations: 0.6816 MB / 1.248 GB, free: 3.887 MB / 0.9981 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.002259/1.056, allocations: 0.6587 MB / 1.249 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4704/1.526, allocations: 3.67 MB / 1.252 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.526, allocations: 0.8438 kB / 1.252 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00578/1.532, allocations: 1.754 MB / 1.254 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.534, allocations: 389.1 kB / 1.254 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.547, allocations: 5.082 MB / 1.259 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.549, allocations: 1.432 MB / 1.261 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004652/1.554, allocations: 0.5757 MB / 1.261 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.555, allocations: 239.3 kB / 1.262 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.555, allocations: 0 / 1.262 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05693/1.612, allocations: 31.27 MB / 1.292 GB, free: 210.1 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=400 -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