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.00134/0.00134, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001343/0.001343, allocations: 187 kB / 17.34 MB, free: 5.719 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.09 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.748, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007708/0.7558, allocations: 5.99 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.9124, allocations: 150.8 MB / 1.32 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.9136, allocations: 15.94 kB / 1.32 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.9147, allocations: 237.7 kB / 1.321 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.9173, allocations: 0.6258 MB / 1.321 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.9197, allocations: 0.872 MB / 1.322 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.9221, allocations: 1.662 MB / 1.324 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.9237, allocations: 0.8657 MB / 1.325 GB, free: 2.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.9248, allocations: 0.6111 MB / 1.325 GB, free: 1.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.9258, allocations: 0.6729 MB / 1.326 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004135/0.9262, allocations: 152 kB / 1.326 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.9276, allocations: 0.5075 MB / 1.326 GB, free: 200 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.9281, allocations: 374.8 kB / 1.327 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.9292, allocations: 0.7346 MB / 1.328 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.932, allocations: 2.034 MB / 1.33 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.932, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.932, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.523e-05/0.9321, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.061 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.003779/0.9359, allocations: 1.717 MB / 1.331 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.936, allocations: 12.03 kB / 1.331 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.937, allocations: 223 kB / 1.331 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.9386, allocations: 0.8716 MB / 1.332 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.9387, allocations: 90.41 kB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.9389, allocations: 112 kB / 1.332 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.9409, allocations: 1.202 MB / 1.334 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.941, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9411, allocations: 55.98 kB / 1.334 GB, free: 8.609 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.9411, allocations: 32 kB / 1.334 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.9431, allocations: 1.277 MB / 1.335 GB, free: 7.293 MB / 1.061 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.005447/0.9486, allocations: 3.547 MB / 1.338 GB, free: 3.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.9502, allocations: 0.8626 MB / 1.339 GB, free: 2.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.9508, allocations: 334.6 kB / 1.34 GB, free: 2.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.9509, allocations: 28.61 kB / 1.34 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009157/0.9519, allocations: 0.5198 MB / 1.34 GB, free: 1.816 MB / 1.061 GB Notification: Performance of pre-optimization done (n=87): time 4.939e-06/0.9519, allocations: 0 / 1.34 GB, free: 1.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.003442/0.9553, allocations: 1.282 MB / 1.341 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.9555, allocations: 192.9 kB / 1.342 GB, free: 280 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.9567, allocations: 0.7391 MB / 1.342 GB, free: 15.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.9568, allocations: 41.7 kB / 1.342 GB, free: 15.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.9573, allocations: 0.5076 MB / 1.343 GB, free: 14.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.9575, allocations: 291.8 kB / 1.343 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.9578, allocations: 178.5 kB / 1.343 GB, free: 14.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.958, allocations: 342 kB / 1.344 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.9586, allocations: 285.8 kB / 1.344 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.9593, allocations: 395 kB / 1.344 GB, free: 13.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.9605, allocations: 0.6555 MB / 1.345 GB, free: 12.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.9605, allocations: 0 / 1.345 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002201/0.9627, allocations: 0.9306 MB / 1.346 GB, free: 11.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9628, allocations: 4 kB / 1.346 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.9628, allocations: 8.031 kB / 1.346 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.9634, allocations: 80.77 kB / 1.346 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.9642, allocations: 179.7 kB / 1.346 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.9664, allocations: 1.635 MB / 1.348 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.9673, allocations: 107.2 kB / 1.348 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.9674, allocations: 31.98 kB / 1.348 GB, free: 9.68 MB / 1.076 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.0006184/0.968, allocations: 299.9 kB / 1.348 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.9683, allocations: 90.88 kB / 1.348 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.9709, allocations: 1.13 MB / 1.349 GB, free: 8.145 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.9709, allocations: 15.94 kB / 1.349 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.971, allocations: 3.984 kB / 1.349 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.971, allocations: 3.984 kB / 1.349 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.9724, allocations: 1.052 MB / 1.35 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.9725, allocations: 0 / 1.35 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.9731, allocations: 151.8 kB / 1.35 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.9736, allocations: 72.78 kB / 1.351 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.9737, allocations: 27.98 kB / 1.351 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.9757, allocations: 1.662 MB / 1.352 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9757, allocations: 0 / 1.352 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.9779, allocations: 0.9824 MB / 1.353 GB, free: 3.961 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.9784, allocations: 291.5 kB / 1.353 GB, free: 3.656 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.9786, allocations: 20.12 kB / 1.353 GB, free: 3.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.9793, allocations: 67.94 kB / 1.354 GB, free: 3.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.9795, allocations: 76.81 kB / 1.354 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.9796, allocations: 35.98 kB / 1.354 GB, free: 3.461 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007372/0.9804, allocations: 0.5146 MB / 1.354 GB, free: 2.949 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9804, allocations: 0 / 1.354 GB, free: 2.949 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001027/0.9814, allocations: 386.9 kB / 1.355 GB, free: 2.57 MB / 1.076 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.001466/0.9829, allocations: 0.6 MB / 1.355 GB, free: 2.129 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.9848, allocations: 0.8897 MB / 1.356 GB, free: 1.223 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9848, allocations: 0 / 1.356 GB, free: 1.223 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.9858, allocations: 0.5394 MB / 1.356 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.9872, allocations: 343.8 kB / 1.357 GB, free: 368 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.9911, allocations: 2.012 MB / 1.359 GB, free: 14.32 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.9919, allocations: 1.106 MB / 1.36 GB, free: 13.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.9923, allocations: 123.4 kB / 1.36 GB, free: 13.06 MB / 1.092 GB Notification: Performance of SimCode: time 6.91e-07/0.9923, allocations: 0 / 1.36 GB, free: 13.06 MB / 1.092 GB Notification: Performance of Templates: time 0.03101/1.023, allocations: 21.9 MB / 1.381 GB, free: 7.188 MB / 1.107 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 -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