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.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.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.001367/0.001372, 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.001435/0.001435, allocations: 194.3 kB / 16.14 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.833/2.833, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.86 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6292, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008056/0.6373, allocations: 5.982 MB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1939/0.8313, allocations: 148.5 MB / 1.167 GB, free: 7.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.8325, allocations: 19.88 kB / 1.168 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.8334, allocations: 174.6 kB / 1.168 GB, free: 7.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.8358, allocations: 0.5373 MB / 1.168 GB, free: 7.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.8382, allocations: 0.7593 MB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003084/0.8413, allocations: 1.544 MB / 1.17 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.8429, allocations: 0.8348 MB / 1.171 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.8442, allocations: 0.5408 MB / 1.172 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.8451, allocations: 0.6182 MB / 1.172 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.8453, allocations: 88 kB / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.8465, allocations: 435.7 kB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.847, allocations: 310.7 kB / 1.173 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.848, allocations: 0.6644 MB / 1.174 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.8509, allocations: 1.92 MB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.8509, allocations: 4 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8509, allocations: 0 / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.8509, allocations: 3.938 kB / 1.176 GB, free: 15.31 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003469/0.8544, allocations: 1.713 MB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8545, allocations: 8.031 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.8555, allocations: 227 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.8569, allocations: 0.8404 MB / 1.178 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.857, allocations: 98.39 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8572, allocations: 115.9 kB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.8595, allocations: 1.198 MB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8596, allocations: 0 / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.8597, allocations: 52 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.8597, allocations: 35.94 kB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.862, allocations: 1.289 MB / 1.181 GB, free: 9.574 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.005835/0.8679, allocations: 3.577 MB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.8696, allocations: 0.8699 MB / 1.186 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.8702, allocations: 322.7 kB / 1.186 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/0.8703, allocations: 32.61 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.8713, allocations: 0.5081 MB / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 5.44e-06/0.8713, allocations: 0 / 1.186 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003576/0.8749, allocations: 1.29 MB / 1.188 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.8751, allocations: 188.9 kB / 1.188 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.8761, allocations: 0.7392 MB / 1.188 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/0.8762, allocations: 45.7 kB / 1.189 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/0.8768, allocations: 0.5114 MB / 1.189 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.8771, allocations: 283.9 kB / 1.189 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.8774, allocations: 178.4 kB / 1.189 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8775, allocations: 341.9 kB / 1.19 GB, free: 412 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.8781, allocations: 293.8 kB / 1.19 GB, free: 120 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.8789, allocations: 395.1 kB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.8801, allocations: 0.6594 MB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8801, allocations: 0 / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002269/0.8824, allocations: 0.9191 MB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8825, allocations: 7.938 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8825, allocations: 7.938 kB / 1.192 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.8831, allocations: 88.8 kB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.8839, allocations: 175.8 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.8861, allocations: 1.54 MB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.8871, allocations: 107.2 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/0.8872, allocations: 36.05 kB / 1.194 GB, free: 12.02 MB / 0.9512 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.0005961/0.8878, allocations: 295.4 kB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.888, allocations: 98.78 kB / 1.194 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.8906, allocations: 1.126 MB / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.8906, allocations: 11.94 kB / 1.195 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8907, allocations: 4 kB / 1.195 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.8907, allocations: 7.922 kB / 1.195 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.8921, allocations: 1.052 MB / 1.196 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8921, allocations: 4 kB / 1.196 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.8928, allocations: 155.7 kB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/0.8934, allocations: 80.77 kB / 1.197 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.8935, allocations: 27.98 kB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.8955, allocations: 1.548 MB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8955, allocations: 0 / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.8977, allocations: 0.9902 MB / 1.199 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.8982, allocations: 283.6 kB / 1.199 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.8984, allocations: 24 kB / 1.199 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.899, allocations: 71.86 kB / 1.2 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.8992, allocations: 68.89 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.8993, allocations: 35.98 kB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007582/0.9001, allocations: 0.5224 MB / 1.2 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9001, allocations: 0 / 1.2 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001085/0.9012, allocations: 386.8 kB / 1.201 GB, free: 5.008 MB / 0.9512 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.001949/0.9031, allocations: 0.6157 MB / 1.201 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.9053, allocations: 0.8822 MB / 1.202 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.9054, allocations: 4 kB / 1.202 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.9065, allocations: 0.5392 MB / 1.203 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.9084, allocations: 303.4 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.9135, allocations: 2.534 MB / 1.205 GB, free: 272 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.9146, allocations: 1.11 MB / 1.206 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001244/0.9158, allocations: 291.6 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.9162, allocations: 111.4 kB / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of SimCode: time 8.92e-07/0.9162, allocations: 0 / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.03398/0.9502, allocations: 15.7 MB / 1.222 GB, free: 15.2 MB / 0.9825 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches