Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_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.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001654/0.001654, allocations: 195 kB / 16.14 MB, free: 6.656 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 73.75 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007675/0.3517, allocations: 5.944 MB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.5245, allocations: 148.5 MB / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.5262, allocations: 19.88 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009873/0.5273, allocations: 182.5 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.5302, allocations: 0.5307 MB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.5325, allocations: 0.7581 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.5346, allocations: 1.544 MB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.5358, allocations: 0.8387 MB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.5367, allocations: 0.533 MB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.5374, allocations: 0.6239 MB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5376, allocations: 92 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009835/0.5386, allocations: 427.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.5389, allocations: 314.7 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.5396, allocations: 0.6682 MB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.5417, allocations: 1.924 MB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5418, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5418, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.5418, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 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.003275/0.5451, allocations: 1.709 MB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5451, allocations: 8.031 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5462, allocations: 226.9 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5474, allocations: 0.8521 MB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.5475, allocations: 90.41 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.5476, allocations: 115.9 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5497, allocations: 1.202 MB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5498, allocations: 0 / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5499, allocations: 59.97 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.5499, allocations: 32 kB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.552, allocations: 1.277 MB / 1.232 GB, free: 1.629 MB / 0.9825 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.005663/0.5576, allocations: 3.587 MB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5592, allocations: 0.8677 MB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.5598, allocations: 322.7 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.5599, allocations: 32.61 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009421/0.5609, allocations: 0.5197 MB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 4.128e-06/0.5609, allocations: 0 / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.00344/0.5643, allocations: 1.282 MB / 1.238 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.5644, allocations: 188.9 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5655, allocations: 0.7352 MB / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.5656, allocations: 41.7 kB / 1.239 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.566, allocations: 0.5115 MB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.5663, allocations: 291.9 kB / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.5666, allocations: 178.5 kB / 1.24 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5667, allocations: 345.9 kB / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.5673, allocations: 289.8 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.568, allocations: 391.1 kB / 1.241 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5692, allocations: 0.6555 MB / 1.242 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5692, allocations: 0 / 1.242 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002311/0.5715, allocations: 0.9228 MB / 1.243 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5715, allocations: 8 kB / 1.243 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5716, allocations: 4.031 kB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/0.5722, allocations: 84.72 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.573, allocations: 175.8 kB / 1.243 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.5753, allocations: 1.54 MB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.5764, allocations: 103.3 kB / 1.245 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.5765, allocations: 39.97 kB / 1.245 GB, free: 4.078 MB / 0.9981 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.0006694/0.5772, allocations: 295.4 kB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.5775, allocations: 90.88 kB / 1.245 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.5802, allocations: 1.133 MB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5802, allocations: 8 kB / 1.246 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.5802, allocations: 8 kB / 1.246 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.5803, allocations: 7.922 kB / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.5818, allocations: 1.048 MB / 1.247 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.5818, allocations: 0 / 1.247 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.5824, allocations: 151.7 kB / 1.247 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.583, allocations: 84.77 kB / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/0.5831, allocations: 23.98 kB / 1.248 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6201/1.203, allocations: 1.546 MB / 1.249 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.203, allocations: 0 / 1.249 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/1.206, allocations: 0.9835 MB / 1.25 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/1.206, allocations: 289.3 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.207, allocations: 22.03 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/1.207, allocations: 74.17 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/1.208, allocations: 79.2 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/1.208, allocations: 34.23 kB / 1.251 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007581/1.208, allocations: 0.5143 MB / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.208, allocations: 0 / 1.251 GB, free: 182 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00111/1.209, allocations: 390.2 kB / 1.251 GB, free: 182 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: 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.001486/1.211, allocations: 0.6051 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002064/1.213, allocations: 0.8866 MB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.213, allocations: 0.8125 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.214, allocations: 0.5379 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.216, allocations: 307 kB / 1.254 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/1.219, allocations: 2.536 MB / 1.256 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/1.22, allocations: 1.107 MB / 1.257 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009628/1.221, allocations: 303 kB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/1.221, allocations: 107.5 kB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.221, allocations: 0 / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03071/1.252, allocations: 15.69 MB / 1.273 GB, free: 177 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches