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.001305/0.001321, allocations: 100.6 kB / 16.35 MB, free: 5.824 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.001316/0.001316, allocations: 195.4 kB / 17.3 MB, free: 5.48 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.15 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.326/2.326, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 69.23 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, 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.007313/0.2756, allocations: 6.001 MB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6033/0.879, allocations: 150.8 MB / 1.172 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009496/0.8799, allocations: 24.59 kB / 1.172 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.8807, allocations: 234.5 kB / 1.172 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.8825, allocations: 0.6261 MB / 1.173 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.8845, allocations: 0.87 MB / 1.174 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.8863, allocations: 1.656 MB / 1.175 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8875, allocations: 0.8663 MB / 1.176 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008329/0.8883, allocations: 0.6059 MB / 1.177 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.8891, allocations: 0.6679 MB / 1.177 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.8893, allocations: 153.8 kB / 1.177 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.8903, allocations: 0.5167 MB / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.8906, allocations: 374.8 kB / 1.178 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.8913, allocations: 0.7313 MB / 1.179 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.8933, allocations: 2.028 MB / 1.181 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8933, allocations: 0 / 1.181 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8933, allocations: 3.75 kB / 1.181 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.8933, allocations: 0 / 1.181 GB, free: 9.691 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.002774/0.8961, allocations: 1.717 MB / 1.183 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8961, allocations: 9.438 kB / 1.183 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009187/0.8971, allocations: 225.8 kB / 1.183 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.8983, allocations: 0.8656 MB / 1.184 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.8984, allocations: 91.16 kB / 1.184 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.8986, allocations: 113 kB / 1.184 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.9005, allocations: 1.204 MB / 1.185 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.9005, allocations: 4 kB / 1.185 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.9006, allocations: 56.61 kB / 1.185 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.9006, allocations: 27.84 kB / 1.185 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.9025, allocations: 1.281 MB / 1.186 GB, free: 6.051 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.004627/0.9071, allocations: 3.535 MB / 1.19 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.9086, allocations: 0.8718 MB / 1.191 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.9091, allocations: 322.7 kB / 1.191 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.9092, allocations: 32.3 kB / 1.191 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008146/0.91, allocations: 0.5185 MB / 1.192 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 2.235e-06/0.9101, allocations: 4 kB / 1.192 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.003121/0.9132, allocations: 1.281 MB / 1.193 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.9133, allocations: 192.3 kB / 1.193 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.9141, allocations: 0.7358 MB / 1.194 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.9142, allocations: 40.7 kB / 1.194 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.9145, allocations: 0.5147 MB / 1.194 GB, free: 412 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.9147, allocations: 279.2 kB / 1.195 GB, free: 164 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.915, allocations: 179.5 kB / 1.195 GB, free: 48 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9151, allocations: 346.5 kB / 1.195 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.9156, allocations: 295.4 kB / 1.195 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.9163, allocations: 387.8 kB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.9174, allocations: 0.6611 MB / 1.196 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9174, allocations: 0 / 1.196 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001931/0.9193, allocations: 0.9147 MB / 1.197 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9193, allocations: 7.406 kB / 1.197 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9194, allocations: 0 / 1.197 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.92, allocations: 95.61 kB / 1.197 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.9207, allocations: 173.1 kB / 1.198 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.9226, allocations: 1.635 MB / 1.199 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.9234, allocations: 105.2 kB / 1.199 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.9235, allocations: 41.09 kB / 1.199 GB, free: 12.74 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.0004312/0.9239, allocations: 296.3 kB / 1.2 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.9241, allocations: 96.16 kB / 1.2 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.9264, allocations: 1.118 MB / 1.201 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9264, allocations: 12.33 kB / 1.201 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.9264, allocations: 7.875 kB / 1.201 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.9264, allocations: 7.969 kB / 1.201 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.9276, allocations: 1.049 MB / 1.202 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9276, allocations: 0 / 1.202 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.9282, allocations: 154.1 kB / 1.202 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/0.9286, allocations: 78.91 kB / 1.202 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.9287, allocations: 23.11 kB / 1.202 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.9305, allocations: 1.657 MB / 1.204 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9305, allocations: 2.781 kB / 1.204 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9324, allocations: 0.9866 MB / 1.205 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.9328, allocations: 284.7 kB / 1.205 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.9329, allocations: 29.06 kB / 1.205 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.9336, allocations: 61.09 kB / 1.205 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9337, allocations: 75.89 kB / 1.205 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.9338, allocations: 38.95 kB / 1.205 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006054/0.9344, allocations: 0.5163 MB / 1.206 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9344, allocations: 2.406 kB / 1.206 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008648/0.9353, allocations: 386.6 kB / 1.206 GB, free: 8.051 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.001265/0.9366, allocations: 0.6137 MB / 1.207 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.9382, allocations: 0.8921 MB / 1.207 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9382, allocations: 0 / 1.207 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/0.9391, allocations: 0.5434 MB / 1.208 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.9403, allocations: 316.3 kB / 1.208 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.9433, allocations: 1.964 MB / 1.21 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.9439, allocations: 1.116 MB / 1.211 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007936/0.9447, allocations: 295.6 kB / 1.212 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.945, allocations: 111.4 kB / 1.212 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of SimCode: time 6.72e-07/0.945, allocations: 0 / 1.212 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.02576/0.9708, allocations: 16.39 MB / 1.228 GB, free: 2.301 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 gbode -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