Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107 kB / 16.36 MB, free: 6.336 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.001015/0.001015, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.401/2.401, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.5 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007304/0.2923, allocations: 5.986 MB / 1.025 GB, free: 3.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6681/0.9604, allocations: 150.8 MB / 1.172 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.9613, allocations: 21.09 kB / 1.172 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.9621, allocations: 235.6 kB / 1.172 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.964, allocations: 0.6236 MB / 1.173 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.9664, allocations: 0.8734 MB / 1.174 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.9687, allocations: 1.652 MB / 1.175 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.9701, allocations: 0.8693 MB / 1.176 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.9711, allocations: 0.6078 MB / 1.177 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.972, allocations: 0.6638 MB / 1.177 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.9722, allocations: 153.5 kB / 1.177 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.9733, allocations: 0.5128 MB / 1.178 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.9738, allocations: 370.9 kB / 1.178 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.9746, allocations: 0.7394 MB / 1.179 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.9771, allocations: 2.028 MB / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9771, allocations: 0 / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9771, allocations: 0 / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.9771, allocations: 0 / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003202/0.9803, allocations: 1.721 MB / 1.183 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9804, allocations: 9.281 kB / 1.183 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.9815, allocations: 225.5 kB / 1.183 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.983, allocations: 0.8576 MB / 1.184 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.9831, allocations: 99.17 kB / 1.184 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.9833, allocations: 113.7 kB / 1.184 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.9853, allocations: 1.198 MB / 1.185 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.9854, allocations: 2.656 kB / 1.185 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.9855, allocations: 49.88 kB / 1.185 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.9855, allocations: 30.38 kB / 1.185 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.9875, allocations: 1.287 MB / 1.186 GB, free: 6.023 MB / 0.8887 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.005128/0.9927, allocations: 3.535 MB / 1.19 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.9942, allocations: 0.8724 MB / 1.191 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.9948, allocations: 318.7 kB / 1.191 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-05/0.9949, allocations: 37.56 kB / 1.191 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008925/0.9958, allocations: 0.5238 MB / 1.192 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.9958, allocations: 2.656 kB / 1.192 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.003206/0.999, allocations: 1.279 MB / 1.193 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.9991, allocations: 199 kB / 1.193 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/1, allocations: 0.7341 MB / 1.194 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/1, allocations: 41.98 kB / 1.194 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/1.001, allocations: 0.5128 MB / 1.194 GB, free: 380 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/1.001, allocations: 281.6 kB / 1.195 GB, free: 132 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.001, allocations: 178.8 kB / 1.195 GB, free: 16 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.001, allocations: 346.8 kB / 1.195 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/1.002, allocations: 292.1 kB / 1.195 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/1.002, allocations: 385.1 kB / 1.196 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.003, allocations: 0.6632 MB / 1.196 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.003, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001992/1.005, allocations: 0.9186 MB / 1.197 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.005, allocations: 4.406 kB / 1.197 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.005, allocations: 2.906 kB / 1.197 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/1.006, allocations: 87.3 kB / 1.197 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.007, allocations: 174.8 kB / 1.198 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/1.009, allocations: 1.635 MB / 1.199 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/1.01, allocations: 104.6 kB / 1.199 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/1.01, allocations: 40.69 kB / 1.199 GB, free: 12.71 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005427/1.01, allocations: 301.5 kB / 1.2 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.011, allocations: 98.12 kB / 1.2 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/1.013, allocations: 1.114 MB / 1.201 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.013, allocations: 13.47 kB / 1.201 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.013, allocations: 8.047 kB / 1.201 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.013, allocations: 11.91 kB / 1.201 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/1.014, allocations: 1.041 MB / 1.202 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.014, allocations: 3.984 kB / 1.202 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/1.015, allocations: 156 kB / 1.202 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.015, allocations: 74.41 kB / 1.202 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/1.015, allocations: 23.73 kB / 1.202 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.017, allocations: 1.661 MB / 1.204 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.017, allocations: 0 / 1.204 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.019, allocations: 0.9858 MB / 1.205 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/1.02, allocations: 285.8 kB / 1.205 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.02, allocations: 27.3 kB / 1.205 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/1.021, allocations: 66.58 kB / 1.205 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.021, allocations: 80.02 kB / 1.205 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/1.021, allocations: 30.58 kB / 1.205 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000675/1.022, allocations: 0.5199 MB / 1.206 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.022, allocations: 0 / 1.206 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009988/1.023, allocations: 384.3 kB / 1.206 GB, free: 8.027 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001341/1.024, allocations: 0.6083 MB / 1.207 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.026, allocations: 0.8918 MB / 1.207 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.026, allocations: 0 / 1.207 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/1.027, allocations: 0.5434 MB / 1.208 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.028, allocations: 328 kB / 1.208 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/1.031, allocations: 1.965 MB / 1.21 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/1.032, allocations: 1.102 MB / 1.211 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008627/1.033, allocations: 303.5 kB / 1.212 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.033, allocations: 111.4 kB / 1.212 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/1.033, allocations: 0 / 1.212 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.02925/1.062, allocations: 16.39 MB / 1.228 GB, free: 2.281 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches